#include <ProgramGLSL.h>
Classes | |
class | ShaderObject |
Public Member Functions | |
void | CheckLinkLog () |
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 |
GLint | _TextureParam0 |
Private Member Functions | |
void | AttachShaderObject (ShaderObject &shader) |
void | DetachShaderObject (ShaderObject &shader) |
Definition at line 32 of file ProgramGLSL.h.
Definition at line 167 of file ProgramGLSL.cpp.
Definition at line 173 of file ProgramGLSL.cpp.
ProgramGLSL::ProgramGLSL | ( | const char * | frag_source | ) |
Definition at line 266 of file ProgramGLSL.cpp.
void ProgramGLSL::AttachShaderObject | ( | ShaderObject & | shader | ) | [private] |
Definition at line 177 of file ProgramGLSL.cpp.
void ProgramGLSL::CheckLinkLog | ( | ) |
Definition at line 204 of file ProgramGLSL.cpp.
void ProgramGLSL::DetachShaderObject | ( | ShaderObject & | shader | ) | [private] |
Definition at line 182 of file ProgramGLSL.cpp.
int ProgramGLSL::IsNative | ( | ) |
Definition at line 323 of file ProgramGLSL.cpp.
int ProgramGLSL::LinkProgram | ( | ) |
Definition at line 187 of file ProgramGLSL.cpp.
ProgramGLSL::operator GLuint | ( | ) | [inline] |
Definition at line 67 of file ProgramGLSL.h.
void ProgramGLSL::PrintLinkLog | ( | std::ostream & | os | ) |
Definition at line 228 of file ProgramGLSL.cpp.
void ProgramGLSL::ReLink | ( | ) |
Definition at line 318 of file ProgramGLSL.cpp.
int ProgramGLSL::UseProgram | ( | ) | [virtual] |
Implements ProgramGPU.
Definition at line 251 of file ProgramGLSL.cpp.
int ProgramGLSL::ValidateProgram | ( | ) |
GLint status;
Definition at line 214 of file ProgramGLSL.cpp.
int ProgramGLSL::_linked [protected] |
Definition at line 52 of file ProgramGLSL.h.
GLuint ProgramGLSL::_programID [protected] |
Definition at line 54 of file ProgramGLSL.h.
GLint ProgramGLSL::_TextureParam0 [protected] |
Definition at line 53 of file ProgramGLSL.h.