MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / PrePassMatInstance

Method PrePassMatInstance

Engine/source/renderInstance/renderPrePassMgr.cpp:856–862  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856PrePassMatInstance::PrePassMatInstance(MatInstance* root, const RenderPrePassMgr *prePassMgr)
857: Parent(*root->getMaterial()), mPrePassMgr(prePassMgr)
858{
859 mFeatureList = root->getRequestedFeatures();
860 mVertexFormat = root->getVertexFormat();
861 mUserObject = root->getUserObject();
862}
863
864PrePassMatInstance::~PrePassMatInstance()
865{

Callers

nothing calls this directly

Calls 3

getUserObjectMethod · 0.80
getMaterialMethod · 0.45
getVertexFormatMethod · 0.45

Tested by

no test coverage detected