Manages the render queues recorded. More...
Static Public Attributes | |
static const nkMemory::StringView | DEFAULT_RENDER_QUEUE = "NILKINS_DEFAULT_RENDER_QUEUE" |
Name of the default base render queue of the component. This queue is used by default by all passes or resources requiring a queue. | |
Additional Inherited Members | |
Public Member Functions inherited from nkGraphics::Manager< RenderQueue > | |
RenderQueue * | createOrRetrieve (nkMemory::StringView name) |
RenderQueue * | record (nkMemory::StringView name, nkMemory::UniquePtr< RenderQueue > resource) |
RenderQueue * | get (nkMemory::StringView name) const |
RenderQueue * | getByIndex (unsigned int index) const |
void | rename (nkMemory::StringView currentName, nkMemory::StringView newName) |
void | erase (nkMemory::StringView name) |
nkMemory::UniquePtr< RenderQueue > | relinquish (nkMemory::StringView name) |
Manages the render queues recorded.
RenderQueue creation / deletion can go through this class, allowing it to act as a repository of resources which lifetime will get managed as needed. Like any Manager, it is always owning the memory it owns, unless it passes back the ownership explicitly.