IOSurfaceGetBytesPerElement(_:)
Returns the length (in bytes) of each element in a particular buffer.
Declaration
func IOSurfaceGetBytesPerElement(_ buffer: IOSurfaceRef) -> IntReturn Value
Returns 0 if buffer is invalid.
See Also
Functions
IOSurfaceAlignProperty(_:_:)IOSurfaceAllowsPixelSizeCasting(_:)IOSurfaceCopyAllValues(_:)IOSurfaceCopyValue(_:_:)IOSurfaceCreate(_:)IOSurfaceCreateMachPort(_:)IOSurfaceCreateXPCObject(_:)IOSurfaceDecrementUseCount(_:)IOSurfaceGetAllocSize(_:)IOSurfaceGetBaseAddress(_:)IOSurfaceGetBaseAddressOfPlane(_:_:)IOSurfaceGetBitDepthOfComponentOfPlane(_:_:_:)IOSurfaceGetBitOffsetOfComponentOfPlane(_:_:_:)IOSurfaceGetBytesPerElementOfPlane(_:_:)IOSurfaceGetBytesPerRow(_:)