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

Method MatInstanceHookType

Engine/source/materials/matInstanceHook.cpp:27–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27MatInstanceHookType::MatInstanceHookType( const char *type )
28{
29 TypeMap::Iterator iter = getTypeMap().find( type );
30 if ( iter == getTypeMap().end() )
31 iter = getTypeMap().insertUnique( type, getTypeMap().size() );
32
33 mTypeIndex = iter->value;
34}
35

Callers

nothing calls this directly

Calls 4

insertUniqueMethod · 0.80
findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected