MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getHook

Method getHook

Engine/source/materials/baseMatInstance.cpp:47–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47MatInstanceHook* BaseMatInstance::getHook( const MatInstanceHookType &type ) const
48{
49 if ( type >= mHooks.size() )
50 return NULL;
51
52 return mHooks[ type ];
53}
54
55void BaseMatInstance::deleteHook( const MatInstanceHookType &type )
56{

Callers 4

getReflectionMaterialMethod · 0.45
getShadowMaterialMethod · 0.45
_getShadowMaterialMethod · 0.45
getDeferredMaterialMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected