FInstanceUpdateCmdBuffer

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Components/InstancedStaticMeshComponent.h

Include

#include "Components/InstancedStaticMeshComponent.h"

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

 

SetCustomData

(
    int32 RenderIndex,
    const TArray< float >& CustomDataF...
)

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

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