ImposterCaptureMaterialHook
Engine/source/util/imposterCapture.cpp
A material hook used to hold imposter generation rendering materials for an object.
Public Static Attributes
The material hook type.
Protected Attributes
Public Functions
Public Static Functions
getDiffuseInst(BaseMatInstance * inMat)
getNormalsInst(BaseMatInstance * inMat)
Protected Static Functions
_overrideFeatures(ProcessedMaterial * mat, U32 stageNum, MaterialFeatureData & fd, const FeatureSet & features)
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)