Contents

IOSurfaceGetWidth(_:)

Returns the width of the IOSurface buffer in pixels.

Declaration

func IOSurfaceGetWidth(_ buffer: IOSurfaceRef) -> Int

Return Value

Returns 0 if buffer is invalid.

See Also

Functions