| FRenderResource
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h |
Include |
#include "RawIndexBuffer.h" |
class FRawStaticIndexBuffer : public FIndexBuffer
Name | Description | |
---|---|---|
|
FRawStaticIndexBuffer ( |
Initialization constructor. |
Name | Description | ||
---|---|---|---|
|
const uint16... |
AccessStream16() |
Get the direct read access to index data Only valid if NeedsCPUAccess = true and indices are 16 bit |
|
const uint32... |
AccessStream32() |
Get the direct read access to index data Only valid if NeedsCPUAccess = true and indices are 32 bit |
|
AppendIndices |
Append indices to the end of the buffer |
|
|
CopyRHIForStreaming ( |
Copy everything, keeping reference to the same RHI resources. |
|
|
FIndexBuffer... |
CreateRHIBuffer_Async() |
|
|
FIndexBuffer... |
CreateRHIBuffer_RenderThread() |
Create an RHI index buffer with CPU data. |
|
Discard() |
Discard discards the serialized data when it is not needed |
|
|
ExpandTo32Bit() |
Expands the 16bit index buffer to 32bit |
|
|
GetAllocatedSize() |
Computes the amount of memory allocated to store the indices. |
|
|
FIndexArrayV... |
GetArrayView() |
Retrieves an array view in to the index buffer. |
|
GetCopy |
Retrieve a copy of the indices in this buffer. |
|
|
GetIndex ( |
||
|
GetIndexDataSize() |
== GetNumIndices() * (b32Bit ? 4 : 2) |
|
|
GetNumIndices() |
Computes the number of indices stored in this buffer. |
|
|
InitRHIForStreaming ( |
Take over ownership of IntermediateBuffer |
|
|
InsertIndices |
Insert indices at the given position in the buffer |
|
|
Is32Bit() |
||
|
ReleaseRHIForStreaming ( |
Release any GPU resource owned by the RHI object |
|
|
RemoveIndicesAt |
Removes indices from the buffer |
|
|
Serialize |
Serialization. |
|
|
SerializeMetaData ( |
Serialize only meta data (e.g. number of indices) but not the actual index data |
|
|
SetIndex |
Sets a single index value. |
|
|
SetIndices ( |
Set the indices stored within this buffer. |
|
|
TrySetAllowCPUAccess ( |
Copy everything, keeping reference to the same RHI resources. |