Python Script Engine
8.0
GL Studio Editor Python Script API
|
Public Member Functions | |
GlsRenderEffect (GlsRenderEffect &src) | |
GlsRenderEffect (disti::GlsRenderEffect *renderEffect, bool incEditorRef) | |
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 *other) |
virtual bool | Equals (GlsRenderEffect *other) |
virtual GlsRenderEffect * | Clone ()=0 |
int | GetVertexAttribIndexForSemantic (int semanticEnum) |
Static Public Member Functions | |
static unsigned int | SetDebugMode (String modeName, bool value) |
static unsigned int | RegisterNewClassID (String debugStr=String()) |
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 } |
Render effect class.
Encapsulates an effect that can be applied to the OpenGL state to modify the appearance of geometry. This API currently only supports single pass techniques.
GlsRenderEffect::GlsRenderEffect | ( | GlsRenderEffect & | src | ) |
GlsRenderEffect::GlsRenderEffect | ( | disti::GlsRenderEffect * | renderEffect, |
bool | incEditorRef | ||
) |
ctor
renderEffect | GlsRenderEffect to wrap |
incEditorRef | true if to increment editor ref on with wrapped group (i.e. if this pointer came from the editor) else false |
|
virtual |
Manage references to the effect.
Reimplemented in Effect_DiffNormSpecRefl.
|
virtual |
Remove the effect trom the OpenGL state.
Reimplemented in Effect_DiffNormSpecRefl.
|
pure virtual |
Returns a new instance of the effect with the same settings as this one.
Implemented in Effect_DiffNormSpecRefl.
|
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.
Reimplemented in Effect_DiffNormSpecRefl.
|
virtual |
Determine if two GlsRenderEffect instances are equivalent The rendering system uses this to eliminate redundant effects.
|
virtual |
VertexAttribIndexLookup override /////////////////////////////////////////.
semanticEnum | The sematic value (see AttributeSemanticEnum) |
Implements VertexAttribIndexLookup.
|
virtual |
Reimplemented in Effect_DiffNormSpecRefl.
|
static |
|
virtual |
Reimplemented in Effect_DiffNormSpecRefl.
|
static |
|
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. |
maxLightNum | Maximum number of active lights |
activeLightMask | Bit mask for active lights in scene |
Reimplemented in Effect_DiffNormSpecRefl.