Torque3D Documentation / _generateds / CustomShaderFeatureData

CustomShaderFeatureData

Engine/source/shaderGen/customShaderFeature.h

More...

Private Types

Parent 

Public Functions

addConnector(String name, String type, String elementName)
addSampler(String name, String type, U32 arraySize)
addTexture(String name, String type, String samplerState, U32 arraySize)
addUniform(String name, String type, String defaultValue, U32 arraySize)
addVariable(String name, String type, String defaultValue)
bool
bool

Called when the object is added to the sim.

Called when the object is removed from the sim.

writeLine(String format, S32 argc, ConsoleValueRef * argv)

Public Static Functions

Detailed Description

Private Types

typedef SimObject Parent 

Public Attributes

Vector< StringTableEntry > mAddedShaderConstants 

Public Functions

CustomShaderFeatureData()

~CustomShaderFeatureData()

addConnector(String name, String type, String elementName)

addSampler(String name, String type, U32 arraySize)

addTexture(String name, String type, String samplerState, U32 arraySize)

addUniform(String name, String type, String defaultValue, U32 arraySize)

addVariable(String name, String type, String defaultValue)

addVertTexCoord(String name)

DECLARE_CONOBJECT(CustomShaderFeatureData )

hasFeature(String name)

onAdd()

Reimplemented from: SimObject

onRemove()

Reimplemented from: SimObject

writeLine(String format, S32 argc, ConsoleValueRef * argv)

Public Static Functions

initPersistFields()