Public Member Functions | |
GLuint | GetShaderID () |
int | IsValidFragmentShader () |
int | IsValidShaderObject () |
int | IsValidVertexShader () |
void | PrintCompileLog (ostream &os) |
ShaderObject (int shadertype, const char *source, int filesource=0) | |
~ShaderObject () | |
Private Member Functions | |
void | CheckCompileLog () |
Static Private Member Functions | |
static int | ReadShaderFile (const char *source, char *&code) |
Private Attributes | |
int | _compiled |
GLuint | _shaderID |
int | _type |
Definition at line 34 of file ProgramGLSL.h.
Definition at line 131 of file ProgramGLSL.cpp.
ProgramGLSL::ShaderObject::ShaderObject | ( | int | shadertype, |
const char * | source, | ||
int | filesource = 0 |
||
) |
Definition at line 43 of file ProgramGLSL.cpp.
void ProgramGLSL::ShaderObject::CheckCompileLog | ( | ) | [private] |
Definition at line 119 of file ProgramGLSL.cpp.
GLuint ProgramGLSL::ShaderObject::GetShaderID | ( | ) | [inline] |
Definition at line 46 of file ProgramGLSL.h.
Definition at line 137 of file ProgramGLSL.cpp.
int ProgramGLSL::ShaderObject::IsValidShaderObject | ( | ) | [inline] |
Definition at line 43 of file ProgramGLSL.h.
Definition at line 142 of file ProgramGLSL.cpp.
void ProgramGLSL::ShaderObject::PrintCompileLog | ( | ostream & | os | ) |
Definition at line 148 of file ProgramGLSL.cpp.
int ProgramGLSL::ShaderObject::ReadShaderFile | ( | const char * | source, |
char *& | code | ||
) | [static, private] |
Definition at line 88 of file ProgramGLSL.cpp.
int ProgramGLSL::ShaderObject::_compiled [private] |
Definition at line 38 of file ProgramGLSL.h.
GLuint ProgramGLSL::ShaderObject::_shaderID [private] |
Definition at line 36 of file ProgramGLSL.h.
int ProgramGLSL::ShaderObject::_type [private] |
Definition at line 37 of file ProgramGLSL.h.