---
title: nextFrame
framework: videotoolbox
role: symbol
role_heading: Instance Property
path: videotoolbox/vtopticalflowparameters/nextframe
---

# nextFrame

The next source frame in presentation time order.

## Declaration

```swift
var nextFrame: VTFrameProcessorFrame { get }
```

## Discussion

Discussion This value can be set to nil for the last frame.

## See Also

### Inspecting the parameters

- [sourceFrame](videotoolbox/vtopticalflowparameters/sourceframe.md)
- [destinationOpticalFlow](videotoolbox/vtopticalflowparameters/destinationopticalflow.md)
- [submissionMode](videotoolbox/vtopticalflowparameters/submissionmode-swift.property.md)
- [VTOpticalFlowParameters.SubmissionMode](videotoolbox/vtopticalflowparameters/submissionmode-swift.enum.md)
