Python Script Engine
1.0
GL Studio Editor Python Script API
|
Private Member Functions | |
Effect_DiffNormSpecRefl () | |
Effect_DiffNormSpecRefl (Effect_DiffNormSpecRefl &src) | |
Effect_DiffNormSpecRefl (disti::Effect_DiffNormSpecRefl *effectDNSR, bool incEditorRef) | |
void | SetMaterialIndex (unsigned int materialIndex) |
unsigned int | GetMaterialIndex () |
void | SetUseVertexColor (bool value) |
bool | GetUseVertexColor () |
void | SetDiffuseTextureIndex (int textureIndex) |
int | GetDiffuseTextureIndex () |
void | SetNormalTextureIndex (int textureIndex) |
int | GetNormalTextureIndex () |
void | SetSpecularTextureIndex (int textureIndex) |
int | GetSpecularTextureIndex () |
void | SetReflectionTextureIndex (int textureIndex) |
int | GetReflectionTextureIndex () |
void | SetDiffuseAmount (float value) |
float | GetDiffuseAmount () |
void | SetNormalAmount (float value) |
float | GetNormalAmount () |
void | SetSpecularAmount (float value) |
float | GetSpecularAmount () |
void | SetReflectionAmount (float value) |
float | GetReflectionAmount () |
void | SetNormalMapFlipGreen (bool value) |
bool | GetNormalMapFlipGreen () |
void | SetDiffuseUVWSettings (float uOffset, float vOffset, float uTiling, float vTiling, float angle) |
void | GetDiffuseUVWSettings (float &uOffset, float &vOffset, float &uTiling, float &vTiling, float &angle) |
void | SetNormalUVWSettings (float uOffset, float vOffset, float uTiling, float vTiling, float angle) |
void | GetNormalUVWSettings (float &uOffset, float &vOffset, float &uTiling, float &vTiling, float &angle) |
void | SetSpecularUVWSettings (float uOffset, float vOffset, float uTiling, float vTiling, float angle) |
void | GetSpecularUVWSettings (float &uOffset, float &vOffset, float &uTiling, float &vTiling, float &angle) |
void | SelectShader () |
void | TextureUVWSettingsChanged () |
bool | UsesTextureTransforms () |
virtual int | GetVertexAttribIndexForSemantic (int semanticEnum) |
virtual void | AddRef () |
virtual void | Release () |
virtual unsigned int | GlsRenderEffect_ClassID () |
virtual void | SetupEffect (MaterialArray &materialPalette, TexturePalette *texturePalette, TextureSettings &textureSettings, float *viewToWorld3x3, unsigned int maxLightNum, unsigned int activeLightMask) |
virtual void | CleanupEffect () |
virtual int | Compare (GlsRenderEffect *) |
virtual GlsRenderEffect * | Clone () |
Additional Inherited Members | |
Public Types inherited from VertexAttribIndexLookup | |
enum | AttributeSemanticEnum { ATTRIB_UNDEFINED = 0, ATTRIB_POSITION = 0x80000000, ATTRIB_NORMAL, ATTRIB_BLENDWEIGHT, ATTRIB_TANGENT, ATTRIB_BINORMAL, ATTRIB_BLENDINDICES, ATTRIB_PSIZE, ATTRIB_TEXCOORD0, ATTRIB_TEXCOORD1, ATTRIB_TEXCOORD2, ATTRIB_TEXCOORD3, ATTRIB_TEXCOORD4, ATTRIB_TEXCOORD5, ATTRIB_TEXCOORD6, ATTRIB_TEXCOORD7 } |
Public Member Functions inherited from GlsRenderEffect | |
GlsRenderEffect (GlsRenderEffect &src) | |
GlsRenderEffect (disti::GlsRenderEffect *renderEffect, bool incEditorRef) | |
virtual bool | Equals (GlsRenderEffect *other) |
int | GetVertexAttribIndexForSemantic (int semanticEnum) |
Static Public Member Functions inherited from GlsRenderEffect | |
static unsigned int | SetDebugMode (String modeName, bool value) |
static unsigned int | RegisterNewClassID (String debugStr=String()) |
|
private |
Constructor.
|
private |
|
private |
Constructor.
effectDNSR | Effect_DiffNormSpecRefl to wrap |
incEditorRef | true if to increment editor ref on with wrapped group (i.e. if this pointer came from the editor) else false |
|
privatevirtual |
Manage references to the effect.
Reimplemented from GlsRenderEffect.
|
privatevirtual |
Remove the effect trom the OpenGL state.
Reimplemented from GlsRenderEffect.
|
privatevirtual |
Returns a new instance of the effect with the same settings as this one.
Implements GlsRenderEffect.
|
privatevirtual |
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.
Reimplemented from GlsRenderEffect.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
privatevirtual |
semanticEnum | The sematic value (see AttributeSemanticEnum) |
Implements VertexAttribIndexLookup.
|
privatevirtual |
Reimplemented from GlsRenderEffect.
|
privatevirtual |
Reimplemented from GlsRenderEffect.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
privatevirtual |
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. |
maxLightNum | Maximum number of active lights |
activeLightMask | Bit mask for active lights in scene |
Reimplemented from GlsRenderEffect.
|
private |
|
private |
|
private |