API Documentation
List of all members
nkGraphics::BufferManager Class Reference

Manages the buffers recorded. More...

Inheritance diagram for nkGraphics::BufferManager:
nkGraphics::Manager< Buffer >

Additional Inherited Members

- Public Member Functions inherited from nkGraphics::Manager< Buffer >
BuffercreateOrRetrieve (nkMemory::StringView name)
 
Bufferrecord (nkMemory::StringView name, nkMemory::UniquePtr< Buffer > resource)
 
Bufferget (nkMemory::StringView name) const
 
BuffergetByIndex (unsigned int index) const
 
void rename (nkMemory::StringView currentName, nkMemory::StringView newName)
 
void erase (nkMemory::StringView name)
 
nkMemory::UniquePtr< Bufferrelinquish (nkMemory::StringView name)
 

Detailed Description

Manages the buffers recorded.

Buffer 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.


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