A queue of rendering commands. More...
Public Member Functions | |
RenderCommandQueue () noexcept | |
nkMemory::BufferView< RenderCommand > | getCommands () const |
void | addCommand (const RenderCommand &command) |
void | reset () |
A queue of rendering commands.
|
noexcept |
Default constructor.
nkMemory::BufferView<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. |
void nkGraphics::RenderCommandQueue::reset | ( | ) |
Resets the queue to make it ready to start over.