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

Method init

Engine/source/gfx/gfxFontRenderBatcher.cpp:234–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void FontRenderBatcher::init( GFont *font, U32 n )
235{
236 // Clear out batched results
237 dMemset(mSheets.address(), 0, mSheets.memSize());
238 mSheets.clear();
239 mStorage.freeBlocks(true);
240
241 mFont = font;
242 mLength = n;
243}

Callers

nothing calls this directly

Calls 5

memSizeMethod · 0.80
dMemsetFunction · 0.50
addressMethod · 0.45
clearMethod · 0.45
freeBlocksMethod · 0.45

Tested by

no test coverage detected