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