prepare
Swift declarationfunc prepare(for device: any MTLDevice)Default implementation, which does not change the Metal device.
protocol · iOS 26.0+ · SDK 27.1
protocol PostProcessEffect : SendableA 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.
func prepare(for device: any MTLDevice)Default implementation, which does not change the Metal device.
No declarations were skipped in this snapshot.