Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Rendering
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Rendering/MultiSizeIndexContainer.h |
| Include | #include "Rendering/MultiSizeIndexContainer.h" |
Syntax
class FMultiSizeIndexContainer
Remarks
Skeletal mesh index buffers are 16 bit by default and 32 bit when called for. This class adds a level of abstraction on top of the index buffers so that we can treat them all as 32 bit.
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMultiSizeIndexContainer
(
const FMultiSizeIndexContainer& Other |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | CopyIndexBuffer
(
const TArray< uint32 >& NewArray |
Populates the index buffer with a new set of indices | |
| void | CreateIndexBuffer
(
uint8 DataTypeSize |
Creates a new index buffer | |
| FBufferRHIRef | |||
| FBufferRHIRef | |||
| uint8 | Accessors | ||
| FRawStaticIndexBuffer16or32Interface * | |||
| const FRawStaticIndexBuffer16or32Interface * | |||
| void | GetIndexBuffer
(
TArray< uint32 >& OutArray |
Returns a 32 bit version of the index buffer | |
| void | GetIndexBufferData
(
FMultiSizeIndexContainerData& OutData |
Retrieves index buffer related data | |
| void | Initialize the index buffer's render resources. | ||
| void | InitRHIForStreaming
(
FRHIBuffer* IntermediateBuffer, |
||
| bool | |||
| void | RebuildIndexBuffer
(
uint8 InDataTypeSize, |
Repopulates the index buffer | |
| void | Releases the index buffer's render resources. | ||
| void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
||
| void | Serialization. | ||
| void | SerializeMetaData
(
FArchive& Ar, |
||
| void | SetOwnerName
(
const FName& OwnerName |
SetOwnerName should be called before BeginInitResources for the owner name to be successfully tracked. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FMultiSizeIndexContainer & | operator=
(
const FMultiSizeIndexContainer& Buffer |