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 empty() 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.