UDynamicMeshComponent::SetRenderMeshPostProcessor

[IRenderMeshPostProcessor](API\Runtime\GeometryFramework\Components\IRenderMeshPostProcessor) Support.

Choose your operating system:

Windows

macOS

Linux

References

Module

GeometryFramework

Header

/Engine/Source/Runtime/GeometryFramework/Public/Components/DynamicMeshComponent.h

Include

#include "Components/DynamicMeshComponent.h"

Source

/Engine/Source/Runtime/GeometryFramework/Private/Components/DynamicMeshComponent.cpp

Syntax

virtual void SetRenderMeshPostProcessor
(
    TUniquePtr< IRenderMeshPostProcessor > Processor
)

Remarks

IRenderMeshPostProcessor Support. If a RenderMesh Postprocessor is configured, then instead of directly passing the internal mesh to the RenderProxy, IRenderMeshPostProcessor::PostProcess is applied to populate the internal RenderMesh which is passed instead. This allows things like Displacement or Subdivision to be done on-the-fly at the rendering level (which is potentially more efficient). Add a render mesh processor, to be called before the mesh is sent for rendering.