MCPcopy Create free account
hub / github.com/carbonengine/trinity / GetInstanceGeometryResource

Method GetInstanceGeometryResource

trinity/Tr2InstancedMesh.cpp:168–171  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Returns an instance resource (either loaded from gr2 or assigned). --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

166// Returns an instance resource (either loaded from gr2 or assigned).
167// --------------------------------------------------------------------------------------
168ITr2InstanceData* Tr2InstancedMesh::GetInstanceGeometryResource() const
169{
170 return m_loadedGeometryResource ? m_loadedGeometryResource : m_instanceGeometryResource;
171}
172
173// --------------------------------------------------------------------------------------
174// Description:

Callers 5

GetInstanceDataObjectMethod · 0.80
UpdateSyncronousMethod · 0.80
UpdateInstanceDataMethod · 0.80
UpdateSyncronousMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected