Manages the raster states available in the component. More...
Public Member Functions | |
RasterState * | getDefaultState () const |
Public Member Functions inherited from nkGraphics::Manager< RasterState > | |
RasterState * | createOrRetrieve (nkMemory::StringView name) |
RasterState * | record (nkMemory::StringView name, nkMemory::UniquePtr< RasterState > resource) |
RasterState * | get (nkMemory::StringView name) const |
RasterState * | getByIndex (unsigned int index) const |
void | rename (nkMemory::StringView currentName, nkMemory::StringView newName) |
void | erase (nkMemory::StringView name) |
nkMemory::UniquePtr< RasterState > | relinquish (nkMemory::StringView name) |
Manages the raster states available in the component.
The manager owns the memory it allocates. External code should never free memory returned.
RasterState* nkGraphics::RasterStateManager::getDefaultState | ( | ) | const |