IOSurfaceGetAllocSize(_:)
Returns the total allocation size of the buffer including all planes.
Declaration
func IOSurfaceGetAllocSize(_ buffer: IOSurfaceRef) -> IntReturn Value
Returns 0 if buffer is invalid.
See Also
Functions
IOSurfaceAlignProperty(_:_:)IOSurfaceAllowsPixelSizeCasting(_:)IOSurfaceCopyAllValues(_:)IOSurfaceCopyValue(_:_:)IOSurfaceCreate(_:)IOSurfaceCreateMachPort(_:)IOSurfaceCreateXPCObject(_:)IOSurfaceDecrementUseCount(_:)IOSurfaceGetBaseAddress(_:)IOSurfaceGetBaseAddressOfPlane(_:_:)IOSurfaceGetBitDepthOfComponentOfPlane(_:_:_:)IOSurfaceGetBitOffsetOfComponentOfPlane(_:_:_:)IOSurfaceGetBytesPerElement(_:)IOSurfaceGetBytesPerElementOfPlane(_:_:)IOSurfaceGetBytesPerRow(_:)