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

Method GetInstanceBufferVertexDeclaration

trinity/Tr2DirectInstanceData.cpp:103–106  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Implements ITr2InstanceData interface. Arguments: bufferIndex - (unused) instance buffer index Return value: Returns the vertex declaration. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

101// Returns the vertex declaration.
102// --------------------------------------------------------------------------------------
103unsigned int Tr2DirectInstanceData::GetInstanceBufferVertexDeclaration( unsigned int bufferIndex ) const
104{
105 return m_vertexDeclaration;
106}
107
108CcpMath::AxisAlignedBox Tr2DirectInstanceData::GetInstanceBufferBoundingBox( unsigned int bufferIndex ) const
109{

Callers 2

GetBatchesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected