39#ifndef INCLUDED_EFFECT_DIRECTX_SHADER_H
40#define INCLUDED_EFFECT_DIRECTX_SHADER_H
55#if( defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLSGEN_IMPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED ) || defined( GLS_IMPORT_GENERATED ) ) \
56 && defined( _MSC_VER )
57# if defined( GLSGEN_EXPORT_GLSADVANCEDMESH ) || defined( GLS_EXPORT_GENERATED )
58# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllexport )
60# define GLSGEN_GlsAdvancedMesh_EXPORT __declspec( dllimport )
63# define GLSGEN_GlsAdvancedMesh_EXPORT
185 float* viewToWorld3x3,
186 unsigned int maxLightNum,
Definition: disti_metadata.h:750
Definition: dynamic_array.h:79
Definition: effect_diff_norm_spec_refl.h:70
Definition: effect_directx_shader.h:73
std::map< std::string, int > IntParamsT
Typedef for a map between strings and ints.
Definition: effect_directx_shader.h:80
void AddRef() DISTI_METHOD_OVERRIDE
Add to this object's reference count.
void SetupEffect(DynamicArray< Material > &materialPalette, TexturePalette *texturePalette, const TextureSettings &textureSettings, float *viewToWorld3x3, unsigned int maxLightNum, unsigned int activeLightMask) DISTI_METHOD_OVERRIDE
GLint GetVertexAttribIndexForSemantic(int semanticEnum) DISTI_METHOD_OVERRIDE
void Release() DISTI_METHOD_OVERRIDE
Release a reference to this object.
unsigned int _materialIndex
The material index to use.
Definition: effect_directx_shader.h:96
DistiAttribDict & Attributes() DISTI_METHOD_OVERRIDE
Definition: effect_directx_shader.h:145
int Compare(const GlsRenderEffect *other) const DISTI_METHOD_OVERRIDE
VectorParamsT _vectorParams
Vector parameter storage.
Definition: effect_directx_shader.h:88
IntParamsT _texture2DIndexParams
2D texture parameter storage.
Definition: effect_directx_shader.h:90
void SetMaterialIndex(unsigned int materialIndex)
Definition: effect_directx_shader.h:135
std::map< std::string, bool > BoolParamsT
Typedef for a map between strings and bools.
Definition: effect_directx_shader.h:83
unsigned int _ref_count
Reference count.
Definition: effect_directx_shader.h:94
unsigned int GetMaterialIndex() const
Definition: effect_directx_shader.h:138
std::map< std::string, Vector > VectorParamsT
Typedef for a map between strings and Vectors.
Definition: effect_directx_shader.h:82
const Effect_DirectXShader & operator=(const Effect_DirectXShader &)
BoolParamsT _boolParams
Bool parameter storage.
Definition: effect_directx_shader.h:89
static const std::string EFFECT_TYPE_NAME
Backing storage for the human readable string for this effect type.
Definition: effect_directx_shader.h:75
unsigned int GlsRenderEffect_ClassID() const DISTI_METHOD_OVERRIDE
FilePathClass * _effectScriptPath
File path to the script for this effect.
Definition: effect_directx_shader.h:77
bool operator!=(const Effect_DirectXShader &o) const
Definition: effect_directx_shader.h:131
Effect_DiffNormSpecRefl * _helperEffect
Definition: effect_directx_shader.h:99
std::map< std::string, GlsColor > ColorParamsT
Typedef for a map between strings and Colors.
Definition: effect_directx_shader.h:81
static const int INVALID_INDEX
Value to represent an invalid texture index.
Definition: effect_directx_shader.h:112
bool operator==(const Effect_DirectXShader &) const
DistiAttribDict * _attribDict
The attribute dictionary for this object.
Definition: effect_directx_shader.h:105
GlsRenderEffect * Clone() const DISTI_METHOD_OVERRIDE
void CleanupEffect() DISTI_METHOD_OVERRIDE
Remove the effect from the OpenGL state.
IntParamsT _textureCUBEIndexParams
Cube map parameter storage.
Definition: effect_directx_shader.h:91
std::map< std::string, float > FloatParamsT
Typedef for a map between strings and floats.
Definition: effect_directx_shader.h:79
ColorParamsT _colorParams
Color parameter storage.
Definition: effect_directx_shader.h:87
FloatParamsT _floatParams
Float parameter storage.
Definition: effect_directx_shader.h:85
const std::string & EffectTypeName() DISTI_METHOD_OVERRIDE
Definition: effect_directx_shader.h:155
IntParamsT _intParams
Int parameter storage.
Definition: effect_directx_shader.h:86
Definition: file_path_class.h:62
Definition: gls_color.h:53
Definition: gls_render_effect.h:135
Definition: gls_render_effect.h:115
Definition: material.h:54
Definition: texture_palette.h:185
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:221
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.
Definition: bmpimage.h:46