DDraceNetwork Docs
CGLSLTextProgram Class Reference

#include <opengl_sl_program.h>

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

Public Member Functions

 CGLSLTextProgram ()
 
- Public Member Functions inherited from CGLSLTWProgram
 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_LocColor
 
int m_LocOutlineColor
 
int m_LocTextSampler
 
int m_LocTextOutlineSampler
 
int m_LocTextureSize
 
ColorRGBA m_LastColor
 
ColorRGBA m_LastOutlineColor
 
int m_LastTextSampler
 
int m_LastTextOutlineSampler
 
int m_LastTextureSize
 
- Public Attributes inherited from CGLSLTWProgram
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

◆ CGLSLTextProgram()

CGLSLTextProgram::CGLSLTextProgram ( )
inline

Member Data Documentation

◆ m_LastColor

ColorRGBA CGLSLTextProgram::m_LastColor

◆ m_LastOutlineColor

ColorRGBA CGLSLTextProgram::m_LastOutlineColor

◆ m_LastTextOutlineSampler

int CGLSLTextProgram::m_LastTextOutlineSampler

◆ m_LastTextSampler

int CGLSLTextProgram::m_LastTextSampler

◆ m_LastTextureSize

int CGLSLTextProgram::m_LastTextureSize

◆ m_LocColor

int CGLSLTextProgram::m_LocColor

◆ m_LocOutlineColor

int CGLSLTextProgram::m_LocOutlineColor

◆ m_LocTextOutlineSampler

int CGLSLTextProgram::m_LocTextOutlineSampler

◆ m_LocTextSampler

int CGLSLTextProgram::m_LocTextSampler

◆ m_LocTextureSize

int CGLSLTextProgram::m_LocTextureSize

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