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 
   71 class DistiAttribDict;
 
   73 typedef DynamicArray<int> ReferencedTextureArray;
 
   74 typedef DynamicArray<int> ReferencedMaterialArray;
 
   91         ATTRIB_POSITION  = 0x80000000,
 
  106     } AttributeSemanticEnum;
 
  125     virtual void AddRef()  = 0;
 
  126     virtual void Release() = 0;
 
  130     virtual unsigned int GlsRenderEffect_ClassID() 
const = 0;
 
  145             unsigned char textureRepeat    = 1,
 
  149             : _textureRepeat( textureRepeat )
 
  150             , _textureMap( textureMap )
 
  151             , _textureMagFilter( textureMagFilter )
 
  152             , _textureMinFilter( textureMinFilter )
 
  167         const TextureSettings&  textureSettings,
 
  168         float*                  viewToWorld3x3, 
 
  169         unsigned int            maxLightNum,
 
  170         unsigned int            activeLightMask )
 
  173 #if !defined( GLES ) || defined( GLES20 ) 
  192     virtual const std::string& EffectTypeName() = 0;
 
  215     static GLSGEN_GlsAdvancedMesh_EXPORT 
unsigned int SetDebugMode( 
const char* modeName, 
bool value );
 
  219     static GLSGEN_GlsAdvancedMesh_EXPORT 
unsigned int RegisterNewClassID( 
const char* debugStr = NULL );
 
  227     typedef bool ( *DebugModeChangeCallback )( 
void* user, 
const char* modeName, 
bool value );
 
  235     static GLSGEN_GlsAdvancedMesh_EXPORT 
bool RegisterDebugModeChangeCallback( 
void* param, DebugModeChangeCallback func );
 
  243     static GLSGEN_GlsAdvancedMesh_EXPORT 
bool UnregisterDebugModeChangeCallback( 
void* param, DebugModeChangeCallback func );
 
virtual void GetReferencedMaterials(ReferencedMaterialArray &referencedMaterials)
Definition: gls_render_effect.h:206
The disti::Material class. 
virtual void SetupEffect(DynamicArray< Material > &materialPalette, TexturePalette *texturePalette, const TextureSettings &textureSettings, float *viewToWorld3x3, unsigned int maxLightNum, unsigned int activeLightMask)=0
The disti::DynamicArray class. A templated array of objects capable of dynamically growing...
unsigned char _textureMap
Definition: gls_render_effect.h:139
virtual GlsRenderEffect * Clone() const  =0
virtual GLint GetVertexAttribIndexForSemantic(int semanticEnum)=0
virtual int Compare(const GlsRenderEffect *other) const  =0
bool Equals(const GlsRenderEffect *other) const 
Definition: gls_render_effect.h:188
Definition: gls_render_effect.h:81
unsigned char _textureRepeat
Definition: gls_render_effect.h:138
The disti::GlsStateManager factory class. Creates an instance of a state manager that manages the GL ...
virtual void GetReferencedTextures(ReferencedTextureArray &referencedTextures)
Definition: gls_render_effect.h:209
Used for matching version of libraries and headers. 
GL Studio Enumerations and constants. 
Definition: display_types.h:58
Definition: disti_metadata.h:668
Definition: display_types.h:65
unsigned char _textureMagFilter
Definition: gls_render_effect.h:140
Definition: texture_palette.h:145
unsigned char _textureMinFilter
Definition: gls_render_effect.h:141
Definition: gls_render_effect.h:117
Definition: gls_render_effect.h:135
Definition: bmpimage.h:46
virtual void CleanupEffect()=0
Remove the effect trom the OpenGL state.