![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <GeometryCollectionISMPoolComponent.h>
Classes | |
| struct | FInstanceGroupRange |
Public Types | |
| using | FInstanceGroupId = int32 |
Public Member Functions | |
| void | Reset () |
| bool | IsEmpty () const |
| int32 | GetMaxInstanceIndex () const |
| FInstanceGroupId | AddGroup (int32 Count) |
| void | RemoveGroup (FInstanceGroupId GroupId) |
Public Attributes | |
| int32 | TotalInstanceCount = 0 |
| int32 | TotalFreeInstanceCount = 0 |
| TArray< FInstanceGroupRange > | GroupRanges |
| TArray< FInstanceGroupId > | FreeList |
Structure containing a set of allocated instance ranges in an FGeometryCollectionISM which is the manager for a single ISM component. The instance ranges don't change once allocated, and aren't the same as the actual render indices in the ISM. The reason that we don't store the the actual ISM render indices is that ISM component is free to reorder its instances whenever it likes.
|
inline |
Add a new group range.
|
inline |
Returns the maximum instance index that we have allocated in a group.
|
inline |
Returns true if no groups ranges are in use.
|
inline |
Remove a group range.
|
inline |
Reset all contents.
| TArray<FInstanceGroupId> FInstanceGroups::FreeList |
| TArray<FInstanceGroupRange> FInstanceGroups::GroupRanges |
| int32 FInstanceGroups::TotalFreeInstanceCount = 0 |
| int32 FInstanceGroups::TotalInstanceCount = 0 |