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

Method SubmitGeometry

trinity/RenderJob/TriStepRenderDebug.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void TriStepRenderDebug::SubmitGeometry( Tr2RenderContext& renderContext )
47{
48 renderContext.SetTopology( TOP_POINTS );
49 renderContext.DrawPrimitiveUP( m_numPrimitives, m_data, 3 * sizeof( float ) );
50}
51
52Vector4 ColorToVec4( uint32_t color );
53

Callers

nothing calls this directly

Calls 2

SetTopologyMethod · 0.45
DrawPrimitiveUPMethod · 0.45

Tested by

no test coverage detected