class
#include <nCine/Graphics/RenderQueue.h>
RenderQueue Sorts and issues the render commands collected by the scenegraph visit.
Constructors, destructors, conversion operators
Public functions
- auto IsEmpty() const -> bool
- Returns
true
if the queue does not contain any render commands. - void AddCommand(RenderCommand* command)
- Adds a draw command to the queue.
- void SortAndCommit()
- Sorts the queues, create batches and commits commands.
- void Draw()
- Issues every render command in order.
- void Clear()
- Clears all the queues and resets the render batcher.