Function

IOSurfaceGetUseCount(_:)

Returns the per-process usage count for an IOSurface.

Declaration

func IOSurfaceGetUseCount(_ buffer: IOSurfaceRef) -> Int32