FPerInstanceRenderData::UpdateFromPreallocatedData

Call to update the Instance buffer with pre allocated data without recreating the [FPerInstanceRenderData](API\Runtime\Engine\Engine\FPerInstanceRenderData)

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/InstancedStaticMesh.h

Include

#include "Engine/InstancedStaticMesh.h"

Source

/Engine/Source/Runtime/Engine/Private/InstancedStaticMesh.cpp

Syntax

void UpdateFromPreallocatedData
(
    FStaticMeshInstanceData & InOther
)

Remarks

Call to update the Instance buffer with pre allocated data without recreating the FPerInstanceRenderData

Parameters

Parameter

Description

InComponent

The owning component

InOther

The Instance data to copy into our instance buffer

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