IOSurface Constants

No overview available.

Topics

Constants

let kIOSurfaceAllocSize: CFString

CFNumber of the total allocation size of the buffer including all planes.

let kIOSurfaceBytesPerElement: CFString

CFNumber for the total number of bytes in an element.

let kIOSurfaceBytesPerRow: CFString

CFNumber for the bytes per row of the buffer.

let kIOSurfaceCacheMode: CFString

CFNumber for the CPU cache mode to be used for the allocation.

let kIOSurfaceElementHeight: CFString

CFNumber for how many pixels high each element is.

let kIOSurfaceElementWidth: CFString

CFNumber for how many pixels wide each element is.

let kIOSurfaceHeight: CFString

CFNumber for the height of the IOSurface buffer in pixels.

let kIOSurfaceIsGlobal: CFString

CFBoolean If true, the IOSurface may be looked up by any task in the system by its ID.

Deprecated
let kIOSurfaceOffset: CFString

CFNumber for the starting offset into the buffer.

let kIOSurfacePixelFormat: CFString

A 32-bit unsigned integer CFNumber that stores the traditional macOS buffer format.

let kIOSurfacePlaneBase: CFString

CFNumber for the base offset into the buffer for this plane.

let kIOSurfacePlaneBytesPerElement: CFString

CFNumber for the bytes per element of this plane.

let kIOSurfacePlaneBytesPerRow: CFString

CFNumber for the bytes per row of this plane.

let kIOSurfacePlaneElementHeight: CFString

CFNumber for the element height of this plane.

let kIOSurfacePlaneElementWidth: CFString

CFNumber for the element width of this plane.

let kIOSurfacePlaneHeight: CFString

CFNumber for the height of this plane in pixels.

let kIOSurfacePlaneInfo: CFString

CFArray describing each image plane in the buffer as a CFDictionary.

let kIOSurfacePlaneOffset: CFString

CFNumber for the offset into the buffer for this plane.

let kIOSurfacePlaneSize: CFString

CFNumber for the total data size of this plane.

let kIOSurfacePlaneWidth: CFString

CFNumber for the width of this plane in pixels.

let kIOSurfaceWidth: CFString

CFNumber for the width of the IOSurface buffer in pixels.