Contents

IOSurfaceGetPixelFormat(_:)

Returns an unsigned integer that contains the traditional macOS buffer format.

Declaration

func IOSurfaceGetPixelFormat(_ buffer: IOSurfaceRef) -> OSType

Return Value

Returns 0 if buffer is invalid.

See Also

Functions