IOSurfaceCopyValue(_:_:)
Retrieves a value from the dictionary associated with the buffer.
Declaration
func IOSurfaceCopyValue(_ buffer: IOSurfaceRef, _ key: CFString) -> CFTypeRef?Discussion
This call lets you attach CF property list types to an IOSurface buffer. This call is expensive (it must essentially serialize the data into the kernel) and thus should be avoided whenever possible.
See Also
Functions
IOSurfaceAlignProperty(_:_:)IOSurfaceAllowsPixelSizeCasting(_:)IOSurfaceCopyAllValues(_:)IOSurfaceCreate(_:)IOSurfaceCreateMachPort(_:)IOSurfaceCreateXPCObject(_:)IOSurfaceDecrementUseCount(_:)IOSurfaceGetAllocSize(_:)IOSurfaceGetBaseAddress(_:)IOSurfaceGetBaseAddressOfPlane(_:_:)IOSurfaceGetBitDepthOfComponentOfPlane(_:_:_:)IOSurfaceGetBitOffsetOfComponentOfPlane(_:_:_:)IOSurfaceGetBytesPerElement(_:)IOSurfaceGetBytesPerElementOfPlane(_:_:)IOSurfaceGetBytesPerRow(_:)