|
API Documentation
|
|
|
13 class MaterialManager final :
public nkCommon::MaybeSingletonClass<MaterialManager>
Material * getByIndex(unsigned int id)
Material * record(nkMemory::StringView name, nkMemory::UniquePtr< Material > resource)
Manages the materials available in the component.
Definition: MaterialManager.h:14
MATERIAL_TYPE
Lists all materials supported.
Definition: MaterialType.h:12
nkMemory::UniquePtr< Material > relinquish(nkMemory::StringView name)
virtual ~MaterialManager()
Material * get(nkMemory::StringView name)
void rename(nkMemory::StringView currentName, nkMemory::StringView newName)
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
Material * createOrRetrieve(nkMemory::StringView name, MATERIAL_TYPE type)
void erase(nkMemory::StringView name)
Base class for all materials in the component.
Definition: Material.h:16