#include <MeshInstanceGroupList.h>
Classes | |
struct | IndexMapEntry |
struct | InsertResult |
Public Types | |
using | WeakHandle = StableDynamicArrayWeakHandle< MeshInstanceGroupData > |
using | OwningHandle = StableDynamicArrayHandle< MeshInstanceGroupData > |
using | StableDynamicArrayType = StableDynamicArray< MeshInstanceGroupData, 4096 > |
using | ParallelRanges = StableDynamicArrayType::ParallelRanges |
using | DataMap = AZStd::unordered_map< MeshInstanceGroupKey, IndexMapEntry > |
Public Member Functions | |
InsertResult | Add (const MeshInstanceGroupKey &key) |
void | Remove (const MeshInstanceGroupKey &key) |
uint32_t | GetInstanceGroupCount () const |
ParallelRanges | GetParallelRanges () |
MeshInstanceGroupData & | operator[] (WeakHandle handle) |
const MeshInstanceGroupData & | operator[] (WeakHandle handle) const |
Manages all the instance groups used by mesh instancing.
Data is stored in pages. There is also a map that stores a handle the data in the array, and its reference count. This map is used to determine if the instance group is already known, and how to access it.