Contents

IOSurfaceGetAllocSize(_:)

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

Declaration

func IOSurfaceGetAllocSize(_ buffer: IOSurfaceRef) -> Int

Return Value

Returns 0 if buffer is invalid.

See Also

Functions