One Logo Pool Ball
Metal · IOS API REFERENCE

MTLCaptureManager

class · iOS 11.0+ · SDK 27.1

class MTLCaptureManager

Members (12)

static · iOS 11.0+

shared

TypeScript
static shared(): MTLCaptureManager
Swift declaration
class func shared() -> MTLCaptureManager
method · iOS 11.0+

makeCaptureScope

TypeScript
makeCaptureScopeCommandQueue(commandQueue: SDKHandle): SDKHandle
Swift declaration
func makeCaptureScope(commandQueue: any MTLCommandQueue) -> any MTLCaptureScope
method · iOS 11.0+

makeCaptureScope

TypeScript
makeCaptureScopeDevice(device: SDKHandle): SDKHandle
Swift declaration
func makeCaptureScope(device: any MTLDevice) -> any MTLCaptureScope
method · iOS 11.0+ · Deprecated in iOS 13.0

startCapture

TypeScript
startCaptureCommandQueue(commandQueue: SDKHandle): void
Swift declaration
func startCapture(commandQueue: any MTLCommandQueue)
method · iOS 13.0+

startCapture

TypeScript
startCaptureWith(descriptor: MTLCaptureDescriptor): void
Swift declaration
func startCapture(with descriptor: MTLCaptureDescriptor) throws
method · iOS 11.0+ · Deprecated in iOS 13.0

startCapture

TypeScript
startCaptureDevice(device: SDKHandle): void
Swift declaration
func startCapture(device: any MTLDevice)
method · iOS 11.0+ · Deprecated in iOS 13.0

startCapture

TypeScript
startCaptureScope(captureScope: SDKHandle): void
Swift declaration
func startCapture(scope captureScope: any MTLCaptureScope)
method · iOS 11.0+

stopCapture

TypeScript
stopCapture(): void
Swift declaration
func stopCapture()
method · iOS 13.0+

supportsDestination

TypeScript
supportsDestination(destination: MTLCaptureDestination): boolean
Swift declaration
func supportsDestination(_ destination: MTLCaptureDestination) -> Bool
get · iOS 11.0+

defaultCaptureScope

TypeScript
get defaultCaptureScope(): (SDKHandle) | null
Swift declaration
var defaultCaptureScope: (any MTLCaptureScope)? { get set }
set · iOS 11.0+

defaultCaptureScope

TypeScript
set defaultCaptureScope(value: (SDKHandle) | null)
Swift declaration
var defaultCaptureScope: (any MTLCaptureScope)? { get set }
get · iOS 11.0+

isCapturing

TypeScript
get isCapturing(): boolean
Swift declaration
var isCapturing: Bool { get }

Skipped declarations

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

All Metal types →