Navigation
API > API/Runtime > API/Runtime/GeometryCollectionEngine
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.
| Name | FInstanceGroups |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionISMPoolComponent.h |
| Include Path | #include "GeometryCollection/GeometryCollectionISMPoolComponent.h" |
Syntax
struct FInstanceGroups
Structs
| Name | Remarks |
|---|---|
| FInstanceGroupRange | A single continuous range associated with an FInstanceGroupId. |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInstanceGroupId | int32 | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FreeList | TArray< FInstanceGroupId > | GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
| GroupRanges | TArray< FInstanceGroupRange > | GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
| TotalFreeInstanceCount | int32 | GeometryCollection/GeometryCollectionISMPoolComponent.h | ||
| TotalInstanceCount | int32 | GeometryCollection/GeometryCollectionISMPoolComponent.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInstanceGroupId AddGroup
(
int32 Count |
Add a new group range. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
int32 GetMaxInstanceIndex() |
Returns the maximum instance index that we have allocated in a group. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
bool IsEmpty() |
Returns true if no groups ranges are in use. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void RemoveGroup
(
FInstanceGroupId GroupId |
Remove a group range. | GeometryCollection/GeometryCollectionISMPoolComponent.h | |
void Reset() |
Reset all contents. | GeometryCollection/GeometryCollectionISMPoolComponent.h |