MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / FreeAllQueues

Method FreeAllQueues

engine/PoseidonGL33/EngineGL33_Queue.cpp:195–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193}
194
195void EngineGL33::FreeAllQueues(QueueGL33& queue)
196{
197 for (int i = 0; i < MaxTriQueues; i++)
198 {
199 if (queue._triUsed[i])
200 {
201 queue._tri[i]._triangleQueue.Clear();
202 FreeQueue(queue, i);
203 }
204 }
205}
206
207void EngineGL33::FlushAndFreeAllQueues(QueueGL33& queue, bool nonEmptyOnly)
208{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected