DDraceNetwork Docs
CGLSLPrimitiveExProgram Class Reference

#include <opengl_sl_program.h>

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

Public Member Functions

 CGLSLPrimitiveExProgram ()
 
- 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_LocRotation
 
int m_LocCenter
 
int m_LocVertciesColor
 
float m_LastRotation
 
vec2 m_LastCenter
 
ColorRGBA m_LastVerticesColor
 
- 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

◆ CGLSLPrimitiveExProgram()

CGLSLPrimitiveExProgram::CGLSLPrimitiveExProgram ( )
inline

Member Data Documentation

◆ m_LastCenter

vec2 CGLSLPrimitiveExProgram::m_LastCenter

◆ m_LastRotation

float CGLSLPrimitiveExProgram::m_LastRotation

◆ m_LastVerticesColor

ColorRGBA CGLSLPrimitiveExProgram::m_LastVerticesColor

◆ m_LocCenter

int CGLSLPrimitiveExProgram::m_LocCenter

◆ m_LocRotation

int CGLSLPrimitiveExProgram::m_LocRotation

◆ m_LocVertciesColor

int CGLSLPrimitiveExProgram::m_LocVertciesColor

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