FInstanceUpdateCmdBuffer

Syntax

struct FInstanceUpdateCmdBuffer

Variables

Name Description

Public variable

TArray < FInstan ...

 

Cmds

Public variable

int32

 

NumAdds

Public variable

int32

 

NumEdits

Constructors

Name Description

Public function

FInstanceUpdateCmdBuffer()

Functions

Name Description

Public function

void

 

AddInstance

(
    const FMatrix & InTransform
)

Public function

void

 

Edit()

Command that can't be in-lined and should cause full buffer rebuild.

Public function

void

 

HideInstance

(
    int32 RenderIndex
)

Commands that can modify render data in place.

Public function Const

int32

 

NumInlineCommands()

Public function Const

int32

 

NumTotalCommands()

Public function

void

 

Reset()

Public function

void

 

ResetInlineCommands()

Public function

void

 

SetEditorData

(
    int32 RenderIndex,
    const FColor & Color,
    bool bSelected
)

Public function

void

 

SetLightMapData

(
    int32 RenderIndex,
    const FVector2D & LightmapUVBias
)

Public function

void

 

SetShadowMapData

(
    int32 RenderIndex,
    const FVector2D & ShadowmapUVBias
)

Public function

void

 

UpdateInstance

(
    int32 RenderIndex,
    const FMatrix & InTransform
)

Classes

Name

Description

Public struct

FInstanceUpdateCommand

Enums

Name

Description

Public enum

EUpdateCommandType

References

Module

Engine

Header

Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h