40#ifndef _GLS_RENDER_EFFECT_H
41#define _GLS_RENDER_EFFECT_H
54#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
55 && defined( _MSC_VER )
56# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
57# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllexport )
59# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllimport )
62# define GLSGEN_GlsAdvancedMesh_EXPORT
89 ATTRIB_POSITION = 0x80000000,
149 unsigned char textureRepeat = 1,
172 float* viewToWorld3x3,
173 unsigned int maxLightNum,
174 unsigned int activeLightMask )
177#if !defined( GLES ) || defined( GLES20 )
Definition: disti_metadata.h:734
Definition: gls_render_effect.h:136
TextureSettings(unsigned char textureRepeat=1, unsigned char textureMap=TEXTURE_MAP_REPLACE, unsigned char textureMagFilter=TEXTURE_FILTER_LINEAR, unsigned char textureMinFilter=TEXTURE_FILTER_LINEAR)
Definition: gls_render_effect.h:148
unsigned char _textureMinFilter
Definition: gls_render_effect.h:141
unsigned char _textureMagFilter
Definition: gls_render_effect.h:140
unsigned char _textureMap
Definition: gls_render_effect.h:139
unsigned char _textureRepeat
Definition: gls_render_effect.h:138
Definition: gls_render_effect.h:116
virtual void GetReferencedMaterials(ReferencedMaterialArray &referencedMaterials)
Definition: gls_render_effect.h:214
bool(* DebugModeChangeCallback)(void *user, const char *modeName, bool value)
Definition: gls_render_effect.h:237
static bool UnregisterDebugModeChangeCallback(void *param, DebugModeChangeCallback func)
virtual void Release()=0
Release a reference to this object.
virtual int Compare(const GlsRenderEffect *other) const =0
virtual void GetReferencedTextures(ReferencedTextureArray &referencedTextures)
Definition: gls_render_effect.h:218
static unsigned int SetDebugMode(const char *modeName, bool value)
virtual GlsRenderEffect * Clone() const =0
bool Equals(const GlsRenderEffect *other) const
Definition: gls_render_effect.h:193
virtual void CleanupEffect()=0
Remove the effect trom the OpenGL state.
virtual void AddRef()=0
Add to this object's reference count.
virtual const std::string & EffectTypeName()=0
virtual unsigned int GlsRenderEffect_ClassID() const =0
static bool RegisterDebugModeChangeCallback(void *param, DebugModeChangeCallback func)
virtual DistiAttribDict & Attributes()=0
virtual void SetupEffect(DynamicArray< Material > &materialPalette, TexturePalette *texturePalette, const TextureSettings &textureSettings, float *viewToWorld3x3, unsigned int maxLightNum, unsigned int activeLightMask)=0
static unsigned int RegisterNewClassID(const char *debugStr=NULL)
Definition: texture_palette.h:184
Definition: gls_render_effect.h:79
virtual GLint GetVertexAttribIndexForSemantic(int semanticEnum)=0
AttributeSemanticEnum
Definition: gls_render_effect.h:87
GL Studio Enumerations and constants.
The disti::DynamicArray class. A templated array of objects capable of dynamically growing.
#define GLSGEN_GlsAdvancedMesh_EXPORT
Provides support for creating DLLs.
Definition: gls_render_effect.h:62
The disti::GlsStateManager factory class. Creates an instance of a state manager that manages the GL ...
Used for matching version of libraries and headers.
The disti::Material class.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47
@ TEXTURE_MAP_REPLACE
Definition: display_types.h:57
@ TEXTURE_FILTER_LINEAR
Definition: display_types.h:64
DynamicArray< int > ReferencedTextureArray
Typedef for a list of texture indices.
Definition: gls_render_effect.h:73
DynamicArray< int > ReferencedMaterialArray
Typedef for a list of material indices.
Definition: gls_render_effect.h:74