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

Method SetDrawInstanced

trinity/TriRenderBatch.cpp:156–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void Tr2RenderBatch::SetDrawInstanced( uint32_t vertexCountPerInstance, uint32_t instanceCount, uint32_t startVertexLocation, uint32_t startInstanceLocation )
157{
158 m_indexCountPerInstance = vertexCountPerInstance;
159 m_instanceCount = instanceCount;
160 m_startIndexLocation = startVertexLocation;
161 m_startInstanceLocation = startInstanceLocation;
162}
163
164void Tr2RenderBatch::SetRenderingMode( Tr2EffectStateManager::RenderingMode mode )
165{

Callers 6

GetBatchImplMethod · 0.80
GetBatchesImplMethod · 0.80
GetBatchesImplMethod · 0.80
GetBatchesMethod · 0.80
GetBatchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected