<!--
{
  "availability" : [
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/VTRAWProcessingSession",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@T@VTRAWProcessingSessionRef"
  },
  "title" : "VTRAWProcessingSession"
}
-->

# VTRAWProcessingSession

An object that processes frames in camera native formats such as RAW or Bayer.

```
class VTRAWProcessingSession
```

## Overview

A RAW processing session supports processing of frames that have been output from decoders in camera native formats, such as RAW or Bayer formats.

The session reference is a reference-counted CF object.

## Topics

### Configuring parameters

[`parameters()`](/documentation/VideoToolbox/VTRAWProcessingSession/parameters())

Returns an asynchronous sequence that provides updates to the processing Parameter array if the processing extension makes changes to the set of Parameters.

[`updateParameter(values:)`](/documentation/VideoToolbox/VTRAWProcessingSession/updateParameter(values:))

Sets the value for one or more of the processing parameters.

[`processingParameters`](/documentation/VideoToolbox/VTRAWProcessingSession/processingParameters)

An array of processing parameters available for this RAW processing session.

[`Parameter`](/documentation/VideoToolbox/VTRAWProcessingSession/Parameter)

A parameter expresses a control or a set of controls that influence frame processing.

### Processing frames

[`process(frame:)`](/documentation/VideoToolbox/VTRAWProcessingSession/process(frame:))

Processes an input pixel buffer.

### Configuring the Metal device

[`metalDevice`](/documentation/VideoToolbox/VTRAWProcessingSession/metalDevice)

The preferred device to use for any Metal-based processing performed by the RAW Processing Extension.

## Relationships

### Conforms To

[`Copyable`](/documentation/Swift/Copyable)

[`Equatable`](/documentation/Swift/Equatable)

[`Escapable`](/documentation/Swift/Escapable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)