|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
Storage for material data on the cpu side. More...
Public Member Functions | |
| MaterialData (uint32_t materialCount) | |
| std::vector< MaterialDataType > | getData () const |
| const DescriptorIndexAllocator & | getIndexAllocator () const |
| uint32_t | addMaterialData (MaterialDataType materialData) |
| size_t | getMaterialCount () const |
| void | removeFromIndex (uint32_t materialIndex) |
| size_t | getCapacity () const |
Private Attributes | |
| std::vector< MaterialDataType > | data {} |
| DescriptorIndexAllocator | allocator { 0 } |
Storage for material data on the cpu side.
| MaterialDataType | type of the material data |
Definition at line 355 of file AssetManager.h.
|
explicit |
Definition at line 471 of file AssetManager.h.
| uint32_t EngineCore::AssetManager::MaterialData< T >::addMaterialData | ( | MaterialDataType | materialData | ) |
Definition at line 489 of file AssetManager.h.
|
nodiscard |
Definition at line 510 of file AssetManager.h.
References allocator.
|
nodiscard |
Definition at line 477 of file AssetManager.h.
References data.
|
nodiscard |
Definition at line 483 of file AssetManager.h.
References allocator.
|
nodiscard |
Definition at line 497 of file AssetManager.h.
References allocator.
| void EngineCore::AssetManager::MaterialData< T >::removeFromIndex | ( | uint32_t | materialIndex | ) |
Definition at line 503 of file AssetManager.h.
|
private |
Definition at line 373 of file AssetManager.h.
Referenced by addMaterialData(), getCapacity(), getIndexAllocator(), getMaterialCount(), MaterialData(), and removeFromIndex().
|
private |
Definition at line 372 of file AssetManager.h.
Referenced by addMaterialData(), getData(), MaterialData(), and removeFromIndex().