| 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 | { |
no test coverage detected