API Documentation
Public Member Functions | List of all members
nkGraphics::RenderCommandQueue Class Referencefinal

A queue of rendering commands. More...

Public Member Functions

 RenderCommandQueue ()
 
 ~RenderCommandQueue ()
 
const nkMemory::BufferCast< RenderCommand > & getCommands () const
 
void addCommand (const RenderCommand &command)
 

Detailed Description

A queue of rendering commands.

Constructor & Destructor Documentation

◆ RenderCommandQueue()

nkGraphics::RenderCommandQueue::RenderCommandQueue ( )

Default constructor.

◆ ~RenderCommandQueue()

nkGraphics::RenderCommandQueue::~RenderCommandQueue ( )

Destructor.

Member Function Documentation

◆ getCommands()

const nkMemory::BufferCast<RenderCommand>& nkGraphics::RenderCommandQueue::getCommands ( ) const
Returns
The buffer of command internally held.

◆ addCommand()

void nkGraphics::RenderCommandQueue::addCommand ( const RenderCommand command)

Allows to add a new command to the buffer.

Parameters
commandThe command to add.

The documentation for this class was generated from the following file: