shared
TypeScriptstatic shared(): MTLCaptureManagerSwift declarationclass func shared() -> MTLCaptureManagerclass · iOS 11.0+ · SDK 27.1
class MTLCaptureManagerstatic shared(): MTLCaptureManagerSwift declarationclass func shared() -> MTLCaptureManagermakeCaptureScopeCommandQueue(commandQueue: SDKHandle): SDKHandleSwift declarationfunc makeCaptureScope(commandQueue: any MTLCommandQueue) -> any MTLCaptureScopemakeCaptureScopeDevice(device: SDKHandle): SDKHandleSwift declarationfunc makeCaptureScope(device: any MTLDevice) -> any MTLCaptureScopestartCaptureCommandQueue(commandQueue: SDKHandle): voidSwift declarationfunc startCapture(commandQueue: any MTLCommandQueue)startCaptureWith(descriptor: MTLCaptureDescriptor): voidSwift declarationfunc startCapture(with descriptor: MTLCaptureDescriptor) throwsstartCaptureDevice(device: SDKHandle): voidSwift declarationfunc startCapture(device: any MTLDevice)startCaptureScope(captureScope: SDKHandle): voidSwift declarationfunc startCapture(scope captureScope: any MTLCaptureScope)stopCapture(): voidSwift declarationfunc stopCapture()supportsDestination(destination: MTLCaptureDestination): booleanSwift declarationfunc supportsDestination(_ destination: MTLCaptureDestination) -> Boolget defaultCaptureScope(): (SDKHandle) | nullSwift declarationvar defaultCaptureScope: (any MTLCaptureScope)? { get set }set defaultCaptureScope(value: (SDKHandle) | null)Swift declarationvar defaultCaptureScope: (any MTLCaptureScope)? { get set }get isCapturing(): booleanSwift declarationvar isCapturing: Bool { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
MTLCaptureManager.init()
inherited init: clang: 'init' is unavailable: not available on iOS