FInstanceUpdateCmdBuffer

Windows
MacOS
Linux

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

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