IOSurfaceGetBaseAddressOfPlane(_:_:)
Returns the address of the first byte of data in the specified plane.
Declaration
func IOSurfaceGetBaseAddressOfPlane(_ buffer: IOSurfaceRef, _ planeIndex: Int) -> UnsafeMutableRawPointerDiscussion
If the planeIndex is greater than or equal to the plane count of the IOSurface, zero is returned…. with one exception. If this IOSurface has zero planes and a planeIndex of zero is passed in, the routines function just like the non-planar APIs. This is to allow higher level code to treat planar and non-planar buffers is a more uniform fashion.
See Also
Functions
IOSurfaceAlignProperty(_:_:)IOSurfaceAllowsPixelSizeCasting(_:)IOSurfaceCopyAllValues(_:)IOSurfaceCopyValue(_:_:)IOSurfaceCreate(_:)IOSurfaceCreateMachPort(_:)IOSurfaceCreateXPCObject(_:)IOSurfaceDecrementUseCount(_:)IOSurfaceGetAllocSize(_:)IOSurfaceGetBaseAddress(_:)IOSurfaceGetBitDepthOfComponentOfPlane(_:_:_:)IOSurfaceGetBitOffsetOfComponentOfPlane(_:_:_:)IOSurfaceGetBytesPerElement(_:)IOSurfaceGetBytesPerElementOfPlane(_:_:)IOSurfaceGetBytesPerRow(_:)