Navigation
Unreal Engine C++ API Reference > Runtime > Engine
Inheritance Hierarchy
- FRenderResource
- FIndexBuffer
- FRawStaticIndexBuffer
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h |
Include | #include "RawIndexBuffer.h" |
Syntax
class FRawStaticIndexBuffer : public FIndexBuffer
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FRawStaticIndexBuffer
(
bool InNeedsCPUAccess |
Initialization constructor. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const uint16 * | Get the direct read access to index data Only valid if NeedsCPUAccess = true and indices are 16 bit | |
![]() ![]() |
const uint32 * | Get the direct read access to index data Only valid if NeedsCPUAccess = true and indices are 32 bit | |
![]() |
void | AppendIndices
(
const uint32* IndicesToAppend, |
Append indices to the end of the buffer |
![]() |
void | ||
![]() |
FBufferRHIRef | ||
![]() |
FBufferRHIRef | Create an RHI index buffer with CPU data. | |
![]() |
void | Discard () |
Discard discards the serialized data when it is not needed |
![]() |
void | Expands the 16bit index buffer to 32bit | |
![]() ![]() |
SIZE_T | Computes the amount of memory allocated to store the indices. | |
![]() ![]() |
bool | ||
![]() ![]() |
FIndexArrayView | GetArrayView () |
Retrieves an array view in to the index buffer. |
![]() ![]() |
void | Retrieve a copy of the indices in this buffer. | |
![]() ![]() |
uint32 | GetIndex
(
const uint32 At |
|
![]() ![]() |
int32 | == GetNumIndices() * (b32Bit ? 4 : 2) | |
![]() ![]() |
int32 | Computes the number of indices stored in this buffer. | |
![]() |
void | InitRHIForStreaming
(
FRHIBuffer* IntermediateBuffer, |
Take over ownership of IntermediateBuffer |
![]() |
void | InsertIndices
(
const uint32 At, |
Insert indices at the given position in the buffer |
![]() ![]() |
bool | Is32Bit () |
|
![]() |
void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
Release any GPU resource owned by the RHI object |
![]() |
void | RemoveIndicesAt
(
const uint32 At, |
Removes indices from the buffer |
![]() |
void | Serialization. | |
![]() |
void | SerializeMetaData
(
FArchive& Ar |
Serialize only meta data (e.g. number of indices) but not the actual index data |
![]() |
void | SetIndex
(
const uint32 At, |
Sets a single index value. |
![]() |
void | SetIndices
(
const TArray< uint32 >& InIndices, |
Set the indices stored within this buffer. |
![]() |
bool | TrySetAllowCPUAccess
(
bool bAllowCPUAccess |
Copy everything, keeping reference to the same RHI resources. |
Overridden from FRenderResource
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | InitRHI
(
FRHICommandListBase& RHICmdList |
Initializes the RHI resources used by this resource. |