---
title: VTPixelRotationSession
framework: videotoolbox
role: collectionGroup
role_heading: API Collection
path: videotoolbox/vtpixelrotationsession-api-collection
---

# VTPixelRotationSession

An object that rotates source pixel buffers to destination pixel buffers.

## Overview

Overview To create a rotation session, call VTPixelRotationSessionCreate(_:_:). Optionally configure the session by calling VTSessionSetProperty(_:key:value:). To transfer pixels call VTPixelRotationSessionRotateImage(_:_:_:). When you’re done with the session, call CFRelease to tear it down and release your object reference.

## Topics

### Managing a Session

- [VTPixelRotationSessionCreate(_:_:)](videotoolbox/vtpixelrotationsessioncreate(_:_:).md)
- [VTPixelRotationSessionInvalidate(_:)](videotoolbox/vtpixelrotationsessioninvalidate(_:).md)

### Configuring a Session

- [Pixel Rotation Properties](videotoolbox/pixel-rotation-properties.md)

### Rotating an Image

- [VTPixelRotationSessionRotateImage(_:_:_:)](videotoolbox/vtpixelrotationsessionrotateimage(_:_:_:).md)

### Inspecting the Type Identifier

- [VTPixelRotationSessionGetTypeID()](videotoolbox/vtpixelrotationsessiongettypeid().md)

### Data Types

- [VTPixelRotationSession](videotoolbox/vtpixelrotationsession.md)

## See Also

### Transformation

- [VTPixelTransferSession](videotoolbox/vtpixeltransfersession-api-collection.md)
