1#ifndef INCLUDED_EFFECT_DIRECTX_SHADER_H
2#define INCLUDED_EFFECT_DIRECTX_SHADER_H
17#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
18 && defined( _MSC_VER )
19# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
20# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllexport )
22# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllimport )
25# define GLSGEN_GlsAdvancedMesh_EXPORT
138 float* viewToWorld3x3,
139 unsigned int maxLightNum,
Definition: disti_metadata.h:734
Definition: dynamic_array.h:79
Definition: effect_diff_norm_spec_refl.h:74
Definition: effect_directx_shader.h:35
std::map< std::string, int > IntParamsT
Typedef for a map between strings and ints.
Definition: effect_directx_shader.h:42
virtual void CleanupEffect() DISTI_METHOD_OVERRIDE
Remove the effect trom the OpenGL state.
unsigned int _materialIndex
The material index to use.
Definition: effect_directx_shader.h:58
DistiAttribDict & Attributes() DISTI_METHOD_OVERRIDE
Definition: effect_directx_shader.h:107
VectorParamsT _vectorParams
Vector parameter storage.
Definition: effect_directx_shader.h:50
IntParamsT _texture2DIndexParams
2D texture parameter storage.
Definition: effect_directx_shader.h:52
void SetMaterialIndex(unsigned int materialIndex)
Definition: effect_directx_shader.h:97
std::map< std::string, bool > BoolParamsT
Typedef for a map between strings and bools.
Definition: effect_directx_shader.h:45
unsigned int _ref_count
Reference count.
Definition: effect_directx_shader.h:56
unsigned int GetMaterialIndex() const
Definition: effect_directx_shader.h:100
std::map< std::string, Vector > VectorParamsT
Typedef for a map between strings and Vectors.
Definition: effect_directx_shader.h:44
const Effect_DirectXShader & operator=(const Effect_DirectXShader &)
BoolParamsT _boolParams
Bool parameter storage.
Definition: effect_directx_shader.h:51
static const std::string EFFECT_TYPE_NAME
Backing storage for the human readable string for this effect type.
Definition: effect_directx_shader.h:37
FilePathClass * _effectScriptPath
File path to the script for this effect.
Definition: effect_directx_shader.h:39
bool operator!=(const Effect_DirectXShader &o) const
Definition: effect_directx_shader.h:93
Effect_DiffNormSpecRefl * _helperEffect
Definition: effect_directx_shader.h:61
virtual int Compare(const GlsRenderEffect *) const DISTI_METHOD_OVERRIDE
std::map< std::string, GlsColor > ColorParamsT
Typedef for a map between strings and Colors.
Definition: effect_directx_shader.h:43
virtual void Release() DISTI_METHOD_OVERRIDE
Release a reference to this object.
virtual unsigned int GlsRenderEffect_ClassID() const DISTI_METHOD_OVERRIDE
static const int INVALID_INDEX
Value to represent an invalid texture index.
Definition: effect_directx_shader.h:74
bool operator==(const Effect_DirectXShader &) const
virtual GLint GetVertexAttribIndexForSemantic(int semanticEnum) DISTI_METHOD_OVERRIDE
DistiAttribDict * _attribDict
The attribute dictionary for this object.
Definition: effect_directx_shader.h:67
virtual void AddRef() DISTI_METHOD_OVERRIDE
Add to this object's reference count.
virtual void SetupEffect(DynamicArray< Material > &materialPalette, TexturePalette *texturePalette, const TextureSettings &textureSettings, float *viewToWorld3x3, unsigned int maxLightNum, unsigned int activeLightMask) DISTI_METHOD_OVERRIDE
virtual GlsRenderEffect * Clone() const DISTI_METHOD_OVERRIDE
IntParamsT _textureCUBEIndexParams
Cube map parameter storage.
Definition: effect_directx_shader.h:53
std::map< std::string, float > FloatParamsT
Typedef for a map between strings and floats.
Definition: effect_directx_shader.h:41
ColorParamsT _colorParams
Color parameter storage.
Definition: effect_directx_shader.h:49
FloatParamsT _floatParams
Float parameter storage.
Definition: effect_directx_shader.h:47
const std::string & EffectTypeName() DISTI_METHOD_OVERRIDE
Definition: effect_directx_shader.h:117
IntParamsT _intParams
Int parameter storage.
Definition: effect_directx_shader.h:48
Definition: file_path_class.h:63
Definition: gls_color.h:54
Definition: gls_render_effect.h:136
Definition: gls_render_effect.h:116
Definition: material.h:56
Definition: texture_palette.h:184
Render effect that supports diffuse, normal, specular, and reflection maps.
A class to handle file paths.
#define DISTI_METHOD_OVERRIDE
Macro to wrap the override keyword, removed on compilers that don't support it.
Definition: gls_cpp_lang_support.h:214
The GlsMatrixAffine class.
The disti::GlsRenderEffect class.
The disti::GlsStateManager factory class. Creates an instance of a state manager that manages the GL ...
The disti::Material class.
Force inclusion of the DirectShow library.
Definition: bmpimage.h:47