A queue of rendering commands. More...
Public Member Functions | |
RenderCommandQueue () | |
~RenderCommandQueue () | |
const nkMemory::BufferCast< RenderCommand > & | getCommands () const |
void | addCommand (const RenderCommand &command) |
A queue of rendering commands.
nkGraphics::RenderCommandQueue::RenderCommandQueue | ( | ) |
Default constructor.
nkGraphics::RenderCommandQueue::~RenderCommandQueue | ( | ) |
Destructor.
const nkMemory::BufferCast<RenderCommand>& nkGraphics::RenderCommandQueue::getCommands | ( | ) | const |
void nkGraphics::RenderCommandQueue::addCommand | ( | const RenderCommand & | command | ) |
Allows to add a new command to the buffer.
command | The command to add. |