MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Clear

Method Clear

Source/Engine/Utilities/RectPack.h:130–135  ·  view source on GitHub ↗

Clears the atlas. This won't invoke OnFree for atlas tiles.

Source from the content-addressed store, hash-verified

128 /// Clears the atlas. This won't invoke OnFree for atlas tiles.
129 /// </summary>
130 void Clear()
131 {
132 if (Width == 0)
133 return;
134 Init(Width, Height, BordersPadding);
135 }
136
137 /// <summary>
138 /// Clears and resets atlas back to the initial state.

Callers 6

Base64DecodeMethod · 0.45
InitMethod · 0.45
ResetMethod · 0.45
ParseTagMethod · 0.45
AnsiPathTempFileMethod · 0.45
TriangulateMethod · 0.45

Calls 1

InitFunction · 0.50

Tested by

no test coverage detected