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

Method setWrite

Engine/source/ts/tsShapeAlloc.cpp:52–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50}
51
52void TSShapeAlloc::setWrite()
53{
54 mMemBuffer32 = 0;
55 mMemBuffer16 = 0;
56 mMemBuffer8 = 0;
57
58 mSize32 = mFullSize32 = 0;
59 mSize16 = mFullSize16 = 0;
60 mSize8 = mFullSize8 = 0;
61
62 mMemGuard32 = 0;
63 mMemGuard16 = 0;
64 mMemGuard8 = 0;
65
66 setSkipMode(false); // doesn't really do anything here...
67 mMode = TSShapeAlloc::WriteMode;
68}
69
70void TSShapeAlloc::doAlloc()
71{

Callers 1

writeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected