#include <NuxGraphics/GLSh_DrawFunction.h>
Public Member Functions |
| GLSh_DrawFunction () |
| ~GLSh_DrawFunction () |
void | CacheShader () |
void | SetBackgroundColor (float R, float G, float B, float A) |
void | SetBackgroundColor (Color color) |
void | SetTextureFunction (ObjectPtr< IOpenGLBaseTexture > device_texture) |
void | Render (int x, int y, int z, int width, int height, int WindowWidth, int WindowHeight) |
void | SetScreenPositionOffset (float x, float y) |
Constructor & Destructor Documentation
nux::GLSh_DrawFunction::GLSh_DrawFunction |
( |
| ) |
|
nux::GLSh_DrawFunction::~GLSh_DrawFunction |
( |
| ) |
|
Member Function Documentation
void nux::GLSh_DrawFunction::CacheShader |
( |
| ) |
|
void nux::GLSh_DrawFunction::Render |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
z, |
|
|
int |
width, |
|
|
int |
height, |
|
|
int |
WindowWidth, |
|
|
int |
WindowHeight |
|
) |
| |
void nux::GLSh_DrawFunction::SetBackgroundColor |
( |
float |
R, |
|
|
float |
G, |
|
|
float |
B, |
|
|
float |
A |
|
) |
| |
void nux::GLSh_DrawFunction::SetBackgroundColor |
( |
Color |
color | ) |
|
void nux::GLSh_DrawFunction::SetScreenPositionOffset |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
The documentation for this class was generated from the following file: