DDraceNetwork Docs
CGLSLTWProgram Class Reference

#include <opengl_sl_program.h>

Inheritance diagram for CGLSLTWProgram:
[legend]
Collaboration diagram for CGLSLTWProgram:
[legend]

Public Member Functions

 CGLSLTWProgram ()
 
- Public Member Functions inherited from CGLSLProgram
void CreateProgram ()
 
void DeleteProgram ()
 
bool AddShader (CGLSL *pShader) const
 
void LinkProgram ()
 
void UseProgram () const
 
TWGLuint GetProgramId () const
 
void DetachShader (CGLSL *pShader) const
 
void DetachShaderById (TWGLuint ShaderId) const
 
void DetachAllShaders () const
 
void SetUniformVec2 (int Loc, int Count, const float *pValue)
 
void SetUniformVec4 (int Loc, int Count, const float *pValue)
 
void SetUniform (int Loc, int Value)
 
void SetUniform (int Loc, bool Value)
 
void SetUniform (int Loc, float Value)
 
void SetUniform (int Loc, int Count, const float *pValues)
 
int GetUniformLoc (const char *pName) const
 
 CGLSLProgram ()
 
virtual ~CGLSLProgram ()
 

Public Attributes

int m_LocPos
 
int m_LocTextureSampler
 
int m_LastTextureSampler
 
int m_LastIsTextured
 
vec2 m_LastScreenTL
 
vec2 m_LastScreenBR
 

Additional Inherited Members

- Protected Attributes inherited from CGLSLProgram
TWGLuint m_ProgramId
 
bool m_IsLinked
 

Constructor & Destructor Documentation

◆ CGLSLTWProgram()

CGLSLTWProgram::CGLSLTWProgram ( )
inline

Member Data Documentation

◆ m_LastIsTextured

int CGLSLTWProgram::m_LastIsTextured

◆ m_LastScreenBR

vec2 CGLSLTWProgram::m_LastScreenBR

◆ m_LastScreenTL

vec2 CGLSLTWProgram::m_LastScreenTL

◆ m_LastTextureSampler

int CGLSLTWProgram::m_LastTextureSampler

◆ m_LocPos

int CGLSLTWProgram::m_LocPos

◆ m_LocTextureSampler

int CGLSLTWProgram::m_LocTextureSampler

The documentation for this class was generated from the following file: