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

Method DoneRendering

trinity/Tr2QuadRenderer.cpp:91–95  ·  view source on GitHub ↗

-------------------------------------------------------------------------------------- Description: Needs to be called after all renderer batches were submitted and before new instances are added. --------------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

89// instances are added.
90// --------------------------------------------------------------------------------------
91void Tr2QuadRenderer::DoneRendering( Tr2RenderContext& renderContext )
92{
93 m_vertexBuffer.DoneUsingData( renderContext );
94 m_bufferSize = 0;
95}
96
97// --------------------------------------------------------------------------------------
98// Description:

Callers 2

EndRenderMethod · 0.80
Render3DUIMethod · 0.80

Calls 1

DoneUsingDataMethod · 0.80

Tested by

no test coverage detected