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

Method Next

trinity/Tr2IndirectDrawBuffer.cpp:127–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127void Tr2IndirectDrawBufferWriter::Next()
128{
129#if TRINITY_PLATFORM == TRINITY_DIRECTX12
130 m_buffer += m_layout.m_stride;
131 ++m_commandCount;
132#elif TRINITY_PLATFORM == TRINITY_METAL
133 m_buffer++;
134 ++m_commandCount;
135#endif
136}
137
138bool Tr2IndirectDrawBufferWriter::HasMaterialConstants( Tr2RenderContextEnum::ShaderType stage ) const
139{

Callers 1

RenderGdprBatchesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected