MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / SortAndCommitQueue

Method SortAndCommitQueue

Sources/nCine/Graphics/Viewport.cpp:339–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

337 }
338
339 void Viewport::SortAndCommitQueue()
340 {
341 RenderResources::SetCurrentViewport(this);
342
343 if (!renderQueue_.IsEmpty()) {
344 ZoneScopedC(0x81A861);
345 renderQueue_.SortAndCommit();
346 }
347
348 stateBits_.set(StateBitPositions::CommittedBit);
349 }
350
351 void Viewport::Draw(std::uint32_t nextIndex)
352 {

Callers 1

StepMethod · 0.45

Calls 3

SortAndCommitMethod · 0.80
IsEmptyMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected