39#ifndef DISTI_INCLUDED_GLS_RENDER_EFFECT_H
40#define DISTI_INCLUDED_GLS_RENDER_EFFECT_H
53#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
54 && defined( _MSC_VER )
55# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
56# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllexport )
58# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllimport )
61# define GLSGEN_GlsAdvancedMesh_EXPORT
88 ATTRIB_POSITION = 0x80000000,
148 unsigned char textureRepeat = 1,
171 float* viewToWorld3x3,
172 unsigned int maxLightNum,
173 unsigned int activeLightMask )
176#if !defined( GLES ) || defined( GLES20 )
Definition: disti_metadata.h:750
Definition: gls_render_effect.h:135
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:147
unsigned char _textureMinFilter
Definition: gls_render_effect.h:140
unsigned char _textureMagFilter
Definition: gls_render_effect.h:139
unsigned char _textureMap
Definition: gls_render_effect.h:138
unsigned char _textureRepeat
Definition: gls_render_effect.h:137
Definition: gls_render_effect.h:115
virtual void GetReferencedMaterials(ReferencedMaterialArray &referencedMaterials)
Definition: gls_render_effect.h:213
bool(* DebugModeChangeCallback)(void *user, const char *modeName, bool value)
Definition: gls_render_effect.h:236
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:217
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:192
virtual void CleanupEffect()=0
Remove the effect from 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:185
Definition: gls_render_effect.h:78
virtual GLint GetVertexAttribIndexForSemantic(int semanticEnum)=0
AttributeSemanticEnum
Definition: gls_render_effect.h:86
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:61
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.
Definition: bmpimage.h:46
@ TEXTURE_MAP_REPLACE
Definition: display_types.h:56
@ TEXTURE_FILTER_LINEAR
Definition: display_types.h:63
DynamicArray< int > ReferencedTextureArray
Typedef for a list of texture indices.
Definition: gls_render_effect.h:72
DynamicArray< int > ReferencedMaterialArray
Typedef for a list of material indices.
Definition: gls_render_effect.h:73