FRawStaticIndexBuffer16or32Interface

Virtual interface for the [FRawStaticIndexBuffer16or32](API\Runtime\Engine\FRawStaticIndexBuffer16or32) class

Windows
MacOS
Linux

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

Name Description

Protected variable

FShaderResource...

 

SRVValue

Guaranteed only to be valid if the vertex buffer is valid and the buffer was created with the SRV flags

Functions

Name Description

Public function

int32

 

AddItem

(
    uint32 Val
)

Public function

void

 

Empty

(
    int32 Slack
)

Public function Const

uint32

 

Get

(
    uint32 Idx
)

Public function Const

bool

 

GetNeedsCPUAccess()

The following methods are basically just accessors that allow us to hide the implementation of FRawStaticIndexBuffer16or32 by making the index array a private member

Public function

void *

 

GetPointerTo

(
    uint32 Idx
)

Public function Const

int32

 

GetResourceDataSize()

Public function Const

FRHIShaderRe...

 

GetSRV()

Public function

void

 

Insert

(
    int32 Idx,
    int32 Num
)

Public function Const

int32

 

Num()

Number of indices (e.g. 4 triangles would result in 12 elements)

Public function

void

 

Remove

(
    int32 Idx,
    int32 Num
)

Public function

void

 

Serialize

(
    FArchive& Ar
)

Public function

void

 

SerializeMetaData

(
    FArchive& Ar
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss