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

Method SetStreamSource

trinity/TriRenderBatch.cpp:113–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111}
112
113void Tr2RenderBatch::SetStreamSource( uint32_t index, const Tr2BufferAL& vb, uint32_t stride )
114{
115 m_vertexStreams[index] = &vb;
116 m_stride[index] = stride;
117}
118
119void Tr2RenderBatch::SetStreamSource( uint32_t index, const Tr2SuballocatedBuffer::Allocation& vb )
120{

Callers 15

GetBatchesMethod · 0.45
GetBatchImplMethod · 0.45
GetBatchesImplMethod · 0.45
GetBatchesImplMethod · 0.45
GetBatchesMethod · 0.45
GetBatchesImplMethod · 0.45
ApplyStreamSourceMethod · 0.45
GetPickingBatchesMethod · 0.45
GetBatchesMethod · 0.45
GetBatchesMethod · 0.45
CommitRibbonBatchMethod · 0.45

Calls 2

GetBufferMethod · 0.45
GetStrideMethod · 0.45

Tested by

no test coverage detected