|  | GL Studio C++ Runtime API
    | 
#include <gls_es20_effect_factory_interface.h>
| Public Types | |
| enum | ShaderOptions_e | 
| enum | MaxLikeShaderOptions_e | 
| typedef unsigned int | ShaderBitfieldT | 
| Public Member Functions | |
| virtual GlsEffect * | GetStdEffect (ShaderBitfieldT bitfield)=0 | 
| virtual GlsEffect * | GetMaxLikeEffect (ShaderBitfieldT bitfield)=0 | 
| virtual GlsEffect * | CreateCustomEffect (const char *vertShader, const char *fragShader)=0 | 
| Protected Member Functions | |
| IGlsEffectFactory (void) | |
| ~IGlsEffectFactory () | |
The interface to a factory for creating GlsEffect objects. Holds the standard and custom shaders, compiles effects, and maintains a list of effects for quick access.
| typedef unsigned int ShaderBitfieldT | 
type of shader features bitfield
enumeration for bitfield describing max-like shader capability
| enum ShaderOptions_e | 
enumeration for bitfield describing shader capability
| 
 | inlineprotected | 
empty ctor
| 
 | inlineprotected | 
empty dtor
| 
 | pure virtual | 
Provide custom shaders to create a new effect.
| [in] | vertShader | the vertex shader source | 
| [in] | fragShader | the fragment shader source | 
| 
 | pure virtual | 
Return a max-like effect with the parameters specified.
| [in] | bitfield | a bitfield indicating the shader features requested ( | 
| 
 | pure virtual | 
Return a standard effect with the parameters specified. This method is called by the state manager automatically in response to standard draw calls.
| [in] | bitfield | a bitfield indicating the shader features requested ( |