Torque3D Documentation / _generateds / ImposterCaptureMaterialHook

ImposterCaptureMaterialHook

Engine/source/util/imposterCapture.cpp

A material hook used to hold imposter generation rendering materials for an object.

More...

Public Static Attributes

The material hook type.

Detailed Description

A material hook used to hold imposter generation rendering materials for an object.

Public Static Attributes

const MatInstanceHookType Type 

The material hook type.

Protected Attributes

BaseMatInstance * mDiffuseMatInst 
BaseMatInstance * mNormalsMatInst 

Public Functions

ImposterCaptureMaterialHook()

~ImposterCaptureMaterialHook()

getType()

Reimplemented from: MatInstanceHook

init(BaseMatInstance * mat)

Public Static Functions

getDiffuseInst(BaseMatInstance * inMat)

getNormalsInst(BaseMatInstance * inMat)

Protected Static Functions

_getOrCreateHook(BaseMatInstance * inMat)

_overrideFeatures(ProcessedMaterial * mat, U32 stageNum, MaterialFeatureData & fd, const FeatureSet & features)