OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
#include <shader.h>
Public Member Functions | |
void | UseProgram (void) |
void | Unused (void) |
void | LinkProgram (void) |
void | AttachShader (uint shader) |
void | BindUniform1f (const char *location, float number) |
void | BindUniform1i (const char *location, int number) |
void | BindMatrix (const char *location, glm::mat4 matrix) |
void | BindVec3f (const char *location, const Vector3f &vector) |
void | BindVec3i (const char *location, const Vector3i &vector) |
void | BindVec4f (const char *location, const Vector4f &vector) |
void | BindVec4i (const char *location, const Vector4i &vector) |
void | BindTexture (Texture *texture, const char *location, int texture_unit) |
void | BindAttributeLocation (const char *location, int attribute_id) |
void | BindFragData (const char *location, int frag_position) |
![]() | |
bool | isUsing (void) |
void | setUsing (bool state) |
void | setLinked (bool state) |
void | setSource (bool state) |
uint | getProgram (void) |
bool | hasSource (void) |
bool | hasLinked (void) |
Additional Inherited Members | |
![]() | |
bool | mUsing |
bool | mSource |
bool | mLink |
uint | mProgram |
std::vector< uint > | mShaders |
The Shader class.