|
Fillwave
10.0.0
|
Single GLSL program object. More...
#include <Program.h>
Public Member Functions | |
| Program (const std::vector< flc::Shader * > &shaders, GLboolean skipLinking=GL_FALSE) | |
| void | link () |
| void | use () const |
| void | uniformPush (const std::string &name, GLint data) |
| void | uniformPush (const std::string &name, GLint *data, GLint count) |
| void | uniformPush (const std::string &name, GLfloat data) |
| void | uniformPush (const std::string &name, GLfloat *data, GLint count) |
| void | uniformPush (const std::string &name, glm::mat3 data) |
| void | uniformPush (const std::string &name, glm::mat4 data) |
| void | uniformPush (const std::string &name, glm::mat4 *data, GLuint size) |
| void | uniformPush (const std::string &name, glm::vec2 data) |
| void | uniformPush (const std::string &name, glm::vec3 data) |
| void | uniformPush (const std::string &name, glm::vec3 *data, GLuint size) |
| void | uniformPush (const std::string &name, glm::vec4 data) |
| GLint | getUniformLocation (const std::string &name) |
| GLuint | getHandle () const |
| void | reload () |
| void | log (const std::string &programName) const |
| void | getUniformBlock (const std::string &name, GLuint bindingPoint) |
| void | uniformBlockPush (const std::string &name, GLfloat *data, size_t size=0) |
Static Public Member Functions | |
| static void | useProgram (GLuint handle) |
| static void | disusePrograms () |
Static Public Attributes | |
| static constexpr const char * | LIGHTS_BINDING_POINT_NAME = "uSpotLightsUBO" |
Single GLSL program object.
1.8.11