Definition at line 50 of file shaders.h.
◆ GLShaderProgram()
GLShaderProgram::GLShaderProgram |
( |
| ) |
|
|
inline |
◆ ~GLShaderProgram()
GLShaderProgram::~GLShaderProgram |
( |
| ) |
|
|
inline |
◆ addShaderFromSource()
bool GLShaderProgram::addShaderFromSource |
( |
std::string const & |
shaderSource, |
|
|
GLenum |
shaderType |
|
) |
| |
|
inline |
◆ Bind()
void GLShaderProgram::Bind |
( |
| ) |
|
|
inline |
◆ isOK()
bool GLShaderProgram::isOK |
( |
| ) |
const |
|
inline |
◆ linkProgram()
bool GLShaderProgram::linkProgram |
( |
| ) |
|
|
inline |
◆ programId()
GLuint GLShaderProgram::programId |
( |
| ) |
const |
|
inline |
◆ SetAttributePointerf()
void GLShaderProgram::SetAttributePointerf |
( |
const char * |
name, |
|
|
float * |
value |
|
) |
| |
|
inline |
◆ SetUniform1f()
void GLShaderProgram::SetUniform1f |
( |
const std::string & |
name, |
|
|
float |
value |
|
) |
| |
|
inline |
◆ SetUniform1i()
void GLShaderProgram::SetUniform1i |
( |
const std::string & |
name, |
|
|
GLint |
value |
|
) |
| |
|
inline |
◆ SetUniform2fv()
void GLShaderProgram::SetUniform2fv |
( |
const std::string & |
name, |
|
|
float * |
value |
|
) |
| |
|
inline |
◆ SetUniform4fv()
void GLShaderProgram::SetUniform4fv |
( |
const std::string & |
name, |
|
|
float * |
value |
|
) |
| |
|
inline |
◆ SetUniformMatrix4fv()
void GLShaderProgram::SetUniformMatrix4fv |
( |
const std::string & |
name, |
|
|
float * |
value |
|
) |
| |
|
inline |
◆ UnBind()
void GLShaderProgram::UnBind |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: