#include <llvertexprogramgl.h>
Public Member Functions | |
LLVertexProgramGL () | |
~LLVertexProgramGL () | |
void | bind () |
void | unbind () |
BOOL | load (const char *filename) |
Private Attributes | |
LLGLuint | mVertexProgramID |
Definition at line 40 of file llvertexprogramgl.h.
LLVertexProgramGL::LLVertexProgramGL | ( | ) |
LLVertexProgramGL::~LLVertexProgramGL | ( | ) |
void LLVertexProgramGL::bind | ( | ) |
Definition at line 116 of file llvertexprogramgl.cpp.
References glBindProgramARB, glEnable, and mVertexProgramID.
BOOL LLVertexProgramGL::load | ( | const char * | filename | ) |
Definition at line 51 of file llvertexprogramgl.cpp.
References FALSE, glBindProgramARB, glGenProgramsARB, glGetError, glGetIntegerv, llendl, llerrs, llwarns, mVertexProgramID, NULL, S32, and TRUE.
void LLVertexProgramGL::unbind | ( | ) |
LLGLuint LLVertexProgramGL::mVertexProgramID [private] |
Definition at line 52 of file llvertexprogramgl.h.
Referenced by bind(), LLVertexProgramGL(), load(), and ~LLVertexProgramGL().