DDraceNetwork Docs
CGLSLTileProgram Class Reference

#include <opengl_sl_program.h>

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

Public Member Functions

 CGLSLTileProgram ()
 
- 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_LocOffset
 
int m_LocDir
 
int m_LocScale = -1
 
int m_LocNum
 
int m_LocJumpIndex
 
- 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

◆ CGLSLTileProgram()

CGLSLTileProgram::CGLSLTileProgram ( )
inline

Member Data Documentation

◆ m_LocColor

int CGLSLTileProgram::m_LocColor

◆ m_LocDir

int CGLSLTileProgram::m_LocDir

◆ m_LocJumpIndex

int CGLSLTileProgram::m_LocJumpIndex

◆ m_LocNum

int CGLSLTileProgram::m_LocNum

◆ m_LocOffset

int CGLSLTileProgram::m_LocOffset

◆ m_LocScale

int CGLSLTileProgram::m_LocScale = -1

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