44 #ifndef DISTI_GLS_STATE_MANAGER_ES20_INTERFACE_H_INCLUDED
45 #define DISTI_GLS_STATE_MANAGER_ES20_INTERFACE_H_INCLUDED
52 #ifndef LESS_MAX_LIGHTS
71 GLfloat _ambient[ 4 ];
72 GLfloat _diffuse[ 4 ];
73 GLfloat _specular[ 4 ];
74 GLfloat _position[ 4 ];
76 GLfloat _spotDirection[ 3 ];
81 float _constantAttenuation;
82 float _linearAttenuation;
83 float _quadraticAttenuation;
91 GLS_EXPORT
virtual GlsMatrixType& GetTopModelViewMatrix(
void ) = 0;
92 GLS_EXPORT
virtual GlsMatrixType& GetTopProjMatrix(
void ) = 0;
99 GLS_EXPORT
virtual void TangentArrayEnabled(
bool val ) = 0;
100 GLS_EXPORT
virtual void BinormalArrayEnabled(
bool val ) = 0;
102 GLS_EXPORT
virtual void TangentPointer( GLenum type, GLsizei stride,
const GLvoid* pointer ) = 0;
103 GLS_EXPORT
virtual void BinormalPointer( GLenum type, GLsizei stride,
const GLvoid* pointer ) = 0;
105 GLS_EXPORT
virtual void AlphaBlendFuncSeparate( GLenum srcColor, GLenum dstColor, GLenum srcAlpha, GLenum dstAlpha ) = 0;
106 GLS_EXPORT
virtual void AlphaBlendFunc( GLenum src, GLenum dst ) = 0;
168 #endif // DISTI_GLS_STATE_MANAGER_ES20_INTERFACE_H_INCLUDED
virtual void PushCustomShaderProgram(GlsEffect *effect, const GLboolean useProgramImmediately)=0
Definition: gls_state_manager_es20_interface.h:65
Definition: gls_es20_effect.h:58
virtual void PushAlphaBlendFunc()=0
IGlsStateManager, interface to a state manager that manages the GL Studio runtime library's use of th...
virtual void PopAlphaBlendFunc()=0
virtual void UpdateShaderProgram(const GLboolean forceUpdate)=0
The disti::GlsEffect class. Holds information pertaining to shader programs and their uniform/attribu...
Definition: gls_state_manager_interface.h:67
Strings and other standard enumerations used in effects.
Definition: gls_state_manager_es20_interface.h:69
virtual void AlphaBlendFunc(GLenum src, GLenum dst)=0
virtual void PopCustomShaderProgram(void)=0
virtual void AlphaBlendFuncSeparate(GLenum srcColor, GLenum dstColor, GLenum srcAlpha, GLenum dstAlpha)=0
IGlsStateManagerES20(void)
Definition: gls_state_manager_es20_interface.h:160
virtual void UpdateShaderUniforms(void)=0
virtual bool HasCustomShader(void) const =0
Definition: bmpimage.h:46
virtual void UpdateShaderAttributes(void)=0
~IGlsStateManagerES20()
Definition: gls_state_manager_es20_interface.h:163