#include <ProgramGLSL.h>
Classes | |
class | ShaderObject |
Public Member Functions | |
void | CheckLinkLog () |
virtual void * | GetProgramID () |
int | IsNative () |
int | LinkProgram () |
operator GLuint () | |
void | PrintLinkLog (std::ostream &os) |
ProgramGLSL () | |
ProgramGLSL (const char *frag_source) | |
void | ReLink () |
int | UseProgram () |
int | ValidateProgram () |
~ProgramGLSL () | |
Protected Attributes | |
int | _linked |
GLuint | _programID |
Private Member Functions | |
void | AttachShaderObject (ShaderObject &shader) |
void | DetachShaderObject (ShaderObject &shader) |
Definition at line 32 of file ProgramGLSL.h.
Definition at line 162 of file ProgramGLSL.cpp.
Definition at line 167 of file ProgramGLSL.cpp.
ProgramGLSL::ProgramGLSL | ( | const char * | frag_source | ) |
Definition at line 259 of file ProgramGLSL.cpp.
void ProgramGLSL::AttachShaderObject | ( | ShaderObject & | shader | ) | [private] |
Definition at line 171 of file ProgramGLSL.cpp.
Definition at line 198 of file ProgramGLSL.cpp.
void ProgramGLSL::DetachShaderObject | ( | ShaderObject & | shader | ) | [private] |
Definition at line 176 of file ProgramGLSL.cpp.
virtual void* ProgramGLSL::GetProgramID | ( | ) | [inline, virtual] |
Implements ProgramGPU.
Definition at line 67 of file ProgramGLSL.h.
Definition at line 312 of file ProgramGLSL.cpp.
Definition at line 181 of file ProgramGLSL.cpp.
ProgramGLSL::operator GLuint | ( | ) | [inline] |
Definition at line 66 of file ProgramGLSL.h.
void ProgramGLSL::PrintLinkLog | ( | std::ostream & | os | ) |
Definition at line 222 of file ProgramGLSL.cpp.
Definition at line 307 of file ProgramGLSL.cpp.
int ProgramGLSL::UseProgram | ( | ) | [virtual] |
Implements ProgramGPU.
Definition at line 245 of file ProgramGLSL.cpp.
GLint status;
Definition at line 208 of file ProgramGLSL.cpp.
int ProgramGLSL::_linked [protected] |
Definition at line 52 of file ProgramGLSL.h.
GLuint ProgramGLSL::_programID [protected] |
Definition at line 53 of file ProgramGLSL.h.