43#ifndef DISTI_GLS_ES20_EFFECT_FACTORY_INTERFACE_H_INCLUDED
44#define DISTI_GLS_ES20_EFFECT_FACTORY_INTERFACE_H_INCLUDED
64 SHADER_LIGHTING_BIT = 1 << 0,
65 SHADER_CLIP_PLANES_BIT = 1 << 1,
66 SHADER_TEXTURE_BLEND_BIT = 1 << 2,
67 SHADER_TEXTURE_MODULATE_BIT = 1 << 3,
68 SHADER_TEXTURE_ALPHA_BIT = 1 << 4,
69 SHADER_TEXTURE_REPLACE_BIT = 1 << 5,
70 SHADER_TEXTURE_REPLACE_RGB_BIT = 1 << 6,
71 SHADER_ALPHA_TEST_BIT = 1 << 7,
72 SHADER_TEXTURE_DECAL_BIT = 1 << 8,
74 SHADER_DIFFUSE_MAP_BIT = 1 << 10,
75 SHADER_DIFFUSE_UVW_BIT = 1 << 11,
77 SHADER_LIGHT_1_POINT = 1 << 20,
78 SHADER_LIGHT_2_POINT = 1 << 21,
79 SHADER_LIGHT_3_POINT = 1 << 22,
80 SHADER_LIGHT_4_POINT = 1 << 23,
81 SHADER_LIGHT_5_POINT = 1 << 24,
82 SHADER_LIGHT_6_POINT = 1 << 25,
83 SHADER_LIGHT_7_POINT = 1 << 26,
84 SHADER_LIGHT_8_POINT = 1 << 27,
86 SHADER_NUM_LIGHTS_FIELD_OFFSET = 28,
87 SHADER_NUM_LIGHTS_1 = 1 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
88 SHADER_NUM_LIGHTS_2 = 2 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
89 SHADER_NUM_LIGHTS_3 = 3 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
90 SHADER_NUM_LIGHTS_4 = 4 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
91 SHADER_NUM_LIGHTS_5 = 5 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
92 SHADER_NUM_LIGHTS_6 = 6 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
93 SHADER_NUM_LIGHTS_7 = 7 << SHADER_NUM_LIGHTS_FIELD_OFFSET,
94 SHADER_NUM_LIGHTS_8 = 8 << SHADER_NUM_LIGHTS_FIELD_OFFSET
100 MAXLIKE_SHADER_VERTEX_COLOR_BIT = 1 << 9,
102 MAXLIKE_SHADER_DIFFUSE_MAP_BIT = 1 << 10,
103 MAXLIKE_SHADER_DIFFUSE_UVW_BIT = 1 << 11,
104 MAXLIKE_SHADER_DIFFUSE_AMOUNT_BIT = 1 << 12,
105 MAXLIKE_SHADER_NORMAL_MAP_BIT = 1 << 13,
106 MAXLIKE_SHADER_NORMAL_UVW_BIT = 1 << 14,
107 MAXLIKE_SHADER_NORMAL_AMOUNT_BIT = 1 << 15,
108 MAXLIKE_SHADER_NORMAL_FLIP_G_BIT = 1 << 16,
109 MAXLIKE_SHADER_SPECULAR_MAP_BIT = 1 << 17,
110 MAXLIKE_SHADER_SPECULAR_UVW_BIT = 1 << 18,
111 MAXLIKE_SHADER_REFLECTION_MAP_BIT = 1 << 19,
113 MAXLIKE_SHADER_LIGHT_1_POINT = 1 << 20,
114 MAXLIKE_SHADER_LIGHT_2_POINT = 1 << 21,
115 MAXLIKE_SHADER_LIGHT_3_POINT = 1 << 22,
116 MAXLIKE_SHADER_LIGHT_4_POINT = 1 << 23,
117 MAXLIKE_SHADER_LIGHT_5_POINT = 1 << 24,
118 MAXLIKE_SHADER_LIGHT_6_POINT = 1 << 25,
119 MAXLIKE_SHADER_LIGHT_7_POINT = 1 << 26,
120 MAXLIKE_SHADER_LIGHT_8_POINT = 1 << 27,
122 MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET = 28,
123 MAXLIKE_SHADER_NUM_LIGHTS_1 = 1 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
124 MAXLIKE_SHADER_NUM_LIGHTS_2 = 2 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
125 MAXLIKE_SHADER_NUM_LIGHTS_3 = 3 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
126 MAXLIKE_SHADER_NUM_LIGHTS_4 = 4 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
127 MAXLIKE_SHADER_NUM_LIGHTS_5 = 5 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
128 MAXLIKE_SHADER_NUM_LIGHTS_6 = 6 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
129 MAXLIKE_SHADER_NUM_LIGHTS_7 = 7 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET,
130 MAXLIKE_SHADER_NUM_LIGHTS_8 = 8 << MAXLIKE_SHADER_NUM_LIGHTS_FIELD_OFFSET
Definition: gls_es20_effect.h:60
Definition: gls_es20_effect_factory_interface.h:56
MaxLikeShaderOptions_e
Definition: gls_es20_effect_factory_interface.h:99
~IGlsEffectFactory()
Definition: gls_es20_effect_factory_interface.h:158
virtual GlsEffect * GetStdEffect(ShaderBitfieldT bitfield)=0
ShaderOptions_e
Definition: gls_es20_effect_factory_interface.h:63
virtual GlsEffect * CreateCustomEffect(const char *vertShader, const char *fragShader)=0
IGlsEffectFactory()
Definition: gls_es20_effect_factory_interface.h:155
virtual GlsEffect * GetMaxLikeEffect(ShaderBitfieldT bitfield)=0
unsigned int ShaderBitfieldT
Definition: gls_es20_effect_factory_interface.h:59
The disti::GlsEffect class. Holds information pertaining to shader programs and their uniform/attribu...
#define GLS_EXPORT
Macro denoting which functions should be visible from the runtime library.
Definition: gls_include.h:52
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47