43#ifndef DISTI_GLS_ES20_EFFECT_H_INCLUDED
44#define DISTI_GLS_ES20_EFFECT_H_INCLUDED
Definition: dynamic_array.h:79
Definition: gls_es20_effect.h:60
GLuint LoadAndCompileShader(GLenum shaderType, const char *shaderSource)
GLuint GetAttribLocation(StdAttribs_e attribute)
GlsUniform _stdUniforms[MAX_STD_UNIFORMS]
Definition: gls_es20_effect.h:145
GLuint CreateShader(const char *vertexShader, const char *fragmentShader)
GLint CreateCustomUniform(const char *uniformName)
void FreeShaders(GLuint vertObject, GLuint fragObject)
DynamicArray< GlsUniform, false > _customUniforms
Definition: gls_es20_effect.h:148
GLuint _programObject
Definition: gls_es20_effect.h:142
std::size_t HashShader(const char *vertexShader, const char *fragmentShader)
friend class GlsEffectFactoryImpl
Definition: gls_es20_effect.h:62
GlsUniform * GetStdUniform(StdUniforms_e uniform)
GLuint GetProgramObject()
GLint _attribLocations[MAX_STD_ATTRIBS]
Definition: gls_es20_effect.h:151
GlsUniform * GetCustomUniform(GLint uniform)
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
Strings and other standard enumerations used in effects.
#define GLchar
Hack for imx.53 board which does not define GLchar in gl2.h or gl2ext.h.
Definition: gls_gl.h:80
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Definition: bmpimage.h:47
StdAttribs_e
Definition: gls_es20_effect_params.h:134
StdUniforms_e
Definition: gls_es20_effect_params.h:50