FRawStaticIndexBuffer16or32Interface

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

Windows
MacOS
Linux

Inheritance Hierarchy

FRenderResource

FIndexBuffer

FRawStaticIndexBuffer16or32Interface

FRawStaticIndexBuffer16or32

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

FShaderResou...

 

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
)

References

Module

Engine

Header

Runtime/Engine/Public/RawIndexBuffer.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback