---
title: IOSurfacePropertyKey
framework: IOSurface
role: symbol
role_heading: Structure
platforms: [iOS 11.0+, iPadOS 11.0+, Mac Catalyst 13.0+, macOS 10.6+, tvOS 11.0+, visionOS 1.0+]
path: iosurface/iosurfacepropertykey
---

# IOSurfacePropertyKey

## Declaration

```swift
struct IOSurfacePropertyKey
```

## Topics

### Initializers

- [init(rawValue:)](iosurface/iosurfacepropertykey/init(rawvalue:).md)

### Type Properties

- [allocSizeKey](iosurface/iosurfacepropertykey/allocsizekey.md)
- [bytesPerElement](iosurface/iosurfacepropertykey/bytesperelement.md)
- [bytesPerRow](iosurface/iosurfacepropertykey/bytesperrow.md)
- [cacheMode](iosurface/iosurfacepropertykey/cachemode.md)
- [elementHeight](iosurface/iosurfacepropertykey/elementheight.md)
- [elementWidth](iosurface/iosurfacepropertykey/elementwidth.md)
- [height](iosurface/iosurfacepropertykey/height.md)
- [offset](iosurface/iosurfacepropertykey/offset.md)
- [pixelFormat](iosurface/iosurfacepropertykey/pixelformat.md)
- [pixelSizeCastingAllowed](iosurface/iosurfacepropertykey/pixelsizecastingallowed.md)
- [planeBase](iosurface/iosurfacepropertykey/planebase.md)
- [planeBytesPerElement](iosurface/iosurfacepropertykey/planebytesperelement.md)
- [planeBytesPerRow](iosurface/iosurfacepropertykey/planebytesperrow.md)
- [planeElementHeight](iosurface/iosurfacepropertykey/planeelementheight.md)
- [planeElementWidth](iosurface/iosurfacepropertykey/planeelementwidth.md)
- [planeHeight](iosurface/iosurfacepropertykey/planeheight.md)
- [planeInfo](iosurface/iosurfacepropertykey/planeinfo.md)
- [planeOffset](iosurface/iosurfacepropertykey/planeoffset.md)
- [planeSize](iosurface/iosurfacepropertykey/planesize.md)
- [planeWidth](iosurface/iosurfacepropertykey/planewidth.md)
- [width](iosurface/iosurfacepropertykey/width.md)
- [allocSize](iosurface/iosurfacepropertykey/allocsize.md)
- [name](iosurface/iosurfacepropertykey/name.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Structures

- [IOSurfaceLockOptions](iosurface/iosurfacelockoptions.md)
- [IOSurfacePurgeabilityState](iosurface/iosurfacepurgeabilitystate.md)
