Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::MeshInstanceGroupList Class Reference

#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 ()
 
MeshInstanceGroupDataoperator[] (WeakHandle handle)
 
const MeshInstanceGroupDataoperator[] (WeakHandle handle) const
 

Detailed Description

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.


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