One Logo Pool Ball
RealityFoundation · IOS API REFERENCE

PostProcessEffect

protocol · iOS 26.0+ · SDK 27.1

protocol PostProcessEffect : Sendable

A protocol that defines hooks for custom post processing effects. RealityKit calls each method in this protocol at a predefined time. For example, RealityKit calls the ``postProcess(context:)`` method every frame, after RealityKit renders the scene, but before displaying it in your app. Adopt this protocol in a custom object and apply it to your ``RealityViewCameraContent`` to apply fine-grained control over the render loop.

Members (1)

method · iOS 26.0+

prepare

Swift declaration
func prepare(for device: any MTLDevice)

Default implementation, which does not change the Metal device.

Skipped declarations

No declarations were skipped in this snapshot.

All RealityFoundation types →