<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "VideoToolbox",
  "identifier" : "/documentation/VideoToolbox/kVTCompressionPropertyKey_HeroEye",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Video Toolbox"
    ],
    "preciseIdentifier" : "c:@kVTCompressionPropertyKey_HeroEye"
  },
  "title" : "kVTCompressionPropertyKey_HeroEye"
}
-->

# kVTCompressionPropertyKey_HeroEye

A value that indicates which eye is the primary eye when rendering in 2D.

```
let kVTCompressionPropertyKey_HeroEye: CFString
```

## Discussion

This property sets a value for the <doc://com.apple.documentation/documentation/CoreMedia/kCMFormatDescriptionExtension_HeroEye> format description on the output samples. Supported values are <doc://com.apple.documentation/documentation/CoreMedia/kCMFormatDescriptionHeroEye_Left> or <doc://com.apple.documentation/documentation/CoreMedia/kCMFormatDescriptionHeroEye_Right>.

## Topics

### Hero Eye Values

[`kVTHeroEye_Left`](/documentation/VideoToolbox/kVTHeroEye_Left)

[`kVTHeroEye_Right`](/documentation/VideoToolbox/kVTHeroEye_Right)



---

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)