MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / render

Method render

Engine/source/navigation/duDebugDrawTorque.cpp:209–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void duDebugDrawTorque::render()
210{
211 GFXStateBlockRef sb = GFX->createStateBlock(mDesc);
212 GFX->setStateBlock(sb);
213 // Use override color for all rendering.
214 if(mOverride)
215 {
216 U8 r, g, b, a;
217 rcCol(mOverrideColor, r, g, b, a);
218 PrimBuild::color4i(r, g, b, a);
219 }
220 for(U32 b = 0; b < mBuffers.size(); b++)
221 {
222 renderBuffer(mBuffers[b]);
223 }
224}
225
226void duDebugDrawTorque::renderGroup(U32 group)
227{

Callers

nothing calls this directly

Calls 5

rcColFunction · 0.85
color4iFunction · 0.85
createStateBlockMethod · 0.80
setStateBlockMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected