---
title: VTFrameProcessorOpticalFlow
framework: videotoolbox
role: symbol
role_heading: Class
path: videotoolbox/vtframeprocessoropticalflow
---

# VTFrameProcessorOpticalFlow

A class to wrap bidirectional optical flow to send to the processor.

## Declaration

```swift
class VTFrameProcessorOpticalFlow
```

## Overview

Overview Instances retain the buffers backing them.

## Topics

### Creating an optical flow configuration

- [init(forwardFlow:backwardFlow:)](videotoolbox/vtframeprocessoropticalflow/init(forwardflow:backwardflow:).md)

### Inspecting the configuration

- [backwardFlow](videotoolbox/vtframeprocessoropticalflow/backwardflow.md)
- [forwardFlow](videotoolbox/vtframeprocessoropticalflow/forwardflow.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Optical flow

- [VTOpticalFlowConfiguration](videotoolbox/vtopticalflowconfiguration.md)
- [VTOpticalFlowParameters](videotoolbox/vtopticalflowparameters.md)
