|  | GL Studio C++ Runtime API
    | 
#include <effect_directx_shader.h>
 
  
 | Public Member Functions | |
| Effect_DirectXShader (const Effect_DirectXShader &) | |
| virtual GLint | GetVertexAttribIndexForSemantic (int semanticEnum) | 
| virtual void | AddRef () | 
| virtual void | SetupEffect (DynamicArray< Material, false > &materialPalette, TexturePalette *texturePalette, const TextureSettings &textureSettings, float *viewToWorld3x3) | 
| virtual void | CleanupEffect () | 
| Remove the effect trom the OpenGL state. | |
| virtual int | Compare (const GlsRenderEffect *) const | 
| virtual GlsRenderEffect * | Clone () const | 
|  Public Member Functions inherited from GlsRenderEffect | |
| bool | Equals (const GlsRenderEffect *other) const | 
| virtual void | GetReferencedMaterials (ReferencedMaterialArray &referencedMaterials) | 
| virtual void | GetReferencedTextures (ReferencedTextureArray &referencedTextures) | 
| Protected Attributes | |
| unsigned int | _ref_count | 
| Reference count. | |
| unsigned int | _materialIndex | 
| The material index to use. | |
| Effect_DiffNormSpecRefl * | _helperEffect | 
Render effect that supports DirectX effect scripts. This will not render anything special in the Editor or in the GLStudio 4 rungime; it only holds the effect configuration for processing by the Lumen converter/generator.
| Effect_DirectXShader | ( | const Effect_DirectXShader & | ) | 
Assignment operator
| 
 | virtual | 
Manage references to the effect
Implements GlsRenderEffect.
| 
 | virtual | 
Returns a new instance of the effect with the same settings as this one
Implements GlsRenderEffect.
| 
 | virtual | 
Returns 0 if the effects are equal, a positive number if this effect should sort after the other effect, and a negative number if this effect should sort before the other effect. The rendering system uses this to sort effects.
Implements GlsRenderEffect.
| 
 | virtual | 
| semanticEnum | The sematic value (see AttributeSemanticEnum) | 
Implements VertexAttribIndexLookup.
| 
 | virtual | 
Apply the effect to the OpenGL state
| materialPalette | Used to access material settings | 
| texturePalette | Used to access texture maps | 
| textureSettings | The object-level texture settings | 
| viewToWorld3x3 | A 3x3 matrix containing the current viewToWorld transfrom. Used for environment mapping effects. | 
Implements GlsRenderEffect.
| 
 | protected | 
Used for rendering the object in the editor; we'll just set up a basic grey