GPU instancing #47
-
Is there a method similar to Unity "https://docs.unity3d.com/ScriptReference/Graphics.DrawMeshInstanced.html" Update: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 16 replies
-
|
Beta Was this translation helpful? Give feedback.
UInstancedStaticMeshComponent::BatchUpdateInstancesTransforms()
is essentially doing the same thing under the hood. Just usemarkRenderStateDirty
for the last element in a batch withInstancedStaticMeshComponent.UpdateInstanceTransform()
, as stated in the API reference. See this test.