2#if(!defined(BACKEND_AS_OPENGL_ES) && !defined(ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H)) || \
3 (defined(BACKEND_AS_OPENGL_ES) && !defined(ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H_AS_ES))
5#if !defined(BACKEND_AS_OPENGL_ES) && !defined(ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H)
6#define ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H
9#if defined(BACKEND_AS_OPENGL_ES) && !defined(ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H_AS_ES)
10#define ENGINE_CLIENT_BACKEND_OPENGL_OPENGL_SL_PROGRAM_H_AS_ES
41 void SetUniform(
int Loc,
int Count,
const float *pValues);
Definition: opengl_sl_program.h:103
int m_LocCenter
Definition: opengl_sl_program.h:114
int m_LocVertciesColor
Definition: opengl_sl_program.h:115
float m_LastRotation
Definition: opengl_sl_program.h:117
vec2 m_LastCenter
Definition: opengl_sl_program.h:118
int m_LocRotation
Definition: opengl_sl_program.h:113
CGLSLPrimitiveExProgram()
Definition: opengl_sl_program.h:105
ColorRGBA m_LastVerticesColor
Definition: opengl_sl_program.h:119
Definition: opengl_sl_program.h:98
Definition: opengl_sl_program.h:20
void CreateProgram()
Definition: opengl_sl_program.cpp:15
void LinkProgram()
Definition: opengl_sl_program.cpp:51
CGLSLProgram()
Definition: opengl_sl_program.cpp:138
TWGLuint m_ProgramId
Definition: opengl_sl_program.h:50
int GetUniformLoc(const char *pName) const
Definition: opengl_sl_program.cpp:122
void UseProgram() const
Definition: opengl_sl_program.cpp:127
bool m_IsLinked
Definition: opengl_sl_program.h:51
void DetachShader(CGLSL *pShader) const
Definition: opengl_sl_program.cpp:38
void DeleteProgram()
Definition: opengl_sl_program.cpp:20
void SetUniformVec2(int Loc, int Count, const float *pValue)
Definition: opengl_sl_program.cpp:97
bool AddShader(CGLSL *pShader) const
Definition: opengl_sl_program.cpp:28
void DetachAllShaders() const
Definition: opengl_sl_program.cpp:71
TWGLuint GetProgramId() const
Definition: opengl_sl_program.cpp:133
void DetachShaderById(TWGLuint ShaderId) const
Definition: opengl_sl_program.cpp:46
void SetUniformVec4(int Loc, int Count, const float *pValue)
Definition: opengl_sl_program.cpp:92
virtual ~CGLSLProgram()
Definition: opengl_sl_program.cpp:143
void SetUniform(int Loc, int Value)
Definition: opengl_sl_program.cpp:107
Definition: opengl_sl_program.h:141
int m_LocOffsets
Definition: opengl_sl_program.h:144
int m_LocQuadOffset
Definition: opengl_sl_program.h:146
int m_LocColors
Definition: opengl_sl_program.h:143
int m_LocRotations
Definition: opengl_sl_program.h:145
Definition: opengl_sl_program.h:123
int m_LocVertciesColor
Definition: opengl_sl_program.h:134
CGLSLSpriteMultipleProgram()
Definition: opengl_sl_program.h:125
int m_LocRSP
Definition: opengl_sl_program.h:132
int m_LocCenter
Definition: opengl_sl_program.h:133
ColorRGBA m_LastVerticesColor
Definition: opengl_sl_program.h:137
vec2 m_LastCenter
Definition: opengl_sl_program.h:136
Definition: opengl_sl_program.h:55
vec2 m_LastScreenBR
Definition: opengl_sl_program.h:69
int m_LastIsTextured
Definition: opengl_sl_program.h:67
int m_LocPos
Definition: opengl_sl_program.h:63
vec2 m_LastScreenTL
Definition: opengl_sl_program.h:68
CGLSLTWProgram()
Definition: opengl_sl_program.h:57
int m_LastTextureSampler
Definition: opengl_sl_program.h:66
int m_LocTextureSampler
Definition: opengl_sl_program.h:64
Definition: opengl_sl_program.h:73
ColorRGBA m_LastColor
Definition: opengl_sl_program.h:90
ColorRGBA m_LastOutlineColor
Definition: opengl_sl_program.h:91
int m_LastTextureSize
Definition: opengl_sl_program.h:94
int m_LocOutlineColor
Definition: opengl_sl_program.h:85
int m_LastTextOutlineSampler
Definition: opengl_sl_program.h:93
int m_LocTextSampler
Definition: opengl_sl_program.h:86
CGLSLTextProgram()
Definition: opengl_sl_program.h:75
int m_LocTextOutlineSampler
Definition: opengl_sl_program.h:87
int m_LastTextSampler
Definition: opengl_sl_program.h:92
int m_LocTextureSize
Definition: opengl_sl_program.h:88
int m_LocColor
Definition: opengl_sl_program.h:84
Definition: opengl_sl_program.h:150
CGLSLTileProgram()
Definition: opengl_sl_program.h:152
int m_LocNum
Definition: opengl_sl_program.h:159
int m_LocJumpIndex
Definition: opengl_sl_program.h:160
int m_LocColor
Definition: opengl_sl_program.h:155
int m_LocDir
Definition: opengl_sl_program.h:157
int m_LocScale
Definition: opengl_sl_program.h:158
int m_LocOffset
Definition: opengl_sl_program.h:156
Definition: opengl_sl.h:18
uint32_t TWGLuint
Definition: graphics_defines.h:7
vector2_base< float > vec2
Definition: vmath.h:158