MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / clear

Method clear

deps/physx/physx/samples/samplebase/SampleConsole.cpp:198–209  ·  view source on GitHub ↗

Clear the console text buffer

Source from the content-addressed store, hash-verified

196
197// Clear the console text buffer
198void Console::clear()
199{
200 for(PxU32 i=0;i<CONSOLE_MAX_ROW;i++)
201 {
202 for(PxU32 j=0;j<CONSOLE_MAX_COL;j++)
203 mBuffer[i].mText[j] = '\0';
204
205 mBuffer[i].mColor = RendererColor(255,255,255);
206 }
207 mNewline = 0;
208 mViewBottom = 0;
209}
210
211// Clear the console text buffer
212void Console::cmdClear()

Callers 15

releaseMethod · 0.45
onTickMethod · 0.45
releaseJointsMethod · 0.45
onShutdownMethod · 0.45
onTickPostRenderMethod · 0.45
buildIglooTriMeshMethod · 0.45
detachMethod · 0.45
~CrabMethod · 0.45
createLegMethod · 0.45
resetSceneMethod · 0.45
onShutdownMethod · 0.45
onSubstepMethod · 0.45

Calls 1

RendererColorClass · 0.70

Tested by

no test coverage detected