Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FRenderResource
- FIndexBuffer
- FRawStaticIndexBuffer16or32Interface
- FRawStaticIndexBuffer16or32
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/RawIndexBuffer.h |
| Include | #include "RawIndexBuffer.h" |
Syntax
class FRawStaticIndexBuffer16or32Interface : public FIndexBuffer
Remarks
Virtual interface for the FRawStaticIndexBuffer16or32 class
Variables
| Type | Name | Description | |
|---|---|---|---|
| FShaderResourceViewRHIRef | SRVValue | Guaranteed only to be valid if the vertex buffer is valid and the buffer was created with the SRV flags |
Functions
| Type | Name | Description | |
|---|---|---|---|
| int32 | |||
| FBufferRHIRef | CreateRHIIndexBufferInternal
(
FRHICommandListBase& RHICmdList, |
||
| void | |||
| uint32 | |||
| bool | The following methods are basically just accessors that allow us to hide the implementation of FRawStaticIndexBuffer16or32 by making the index array a private member | ||
| void * | GetPointerTo
(
uint32 Idx |
||
| int32 | |||
| FRHIShaderResourceView * | GetSRV () |
||
| void | InitRHIForStreaming
(
FRHIBuffer* IntermediateBuffer, |
Similar to Init/ReleaseRHI but only update existing SRV so references to the SRV stays valid | |
| void | |||
| bool | IsSRVNeeded
(
bool bAllowCPUAccess |
||
| int32 | Num () |
Number of indices (e.g. 4 triangles would result in 12 elements) | |
| void | ReleaseRHIForStreaming
(
FRHIResourceUpdateBatcher& Batcher |
||
| void | |||
| void | |||
| void | SerializeMetaData
(
FArchive& Ar |