---
title: "process(_:presentationDescriptor:drawable:)"
framework: Immersive Media Support
role: symbol
role_heading: Instance Method
platforms: [visionOS 27.0+]
path: "immersivemediasupport/immersivepreviewrenderer/process(_:presentationdescriptor:drawable:)"
---

# process(_:presentationDescriptor:drawable:)

Performs the rendering of an immersive video frame.

## Declaration

```swift
@MainActor func process(_ frame: ImmersiveVideoFrame, presentationDescriptor: PresentationDescriptor, drawable: LayerRenderer.Drawable) async
```

## Parameters

- `frame`: The ImmersiveVideoFrame to render.
- `presentationDescriptor`: The presentation descriptor for the commands to process on the frame.
- `drawable`: The drawable to render to.

## Discussion

Discussion This method is available on visionOS and integrates with the CompositorServices framework to provide head-tracked stereoscopic rendering. It automatically processes both left and right eye views, applies device anchor transforms for head tracking. The rendering operation is asynchronous and completes when the frame has been submitted to the GPU. Access commandBuffer after this method returns to retrieve the command buffer for synchronization.
