MTLCaptureManager.StartCapture Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| StartCapture(IMTLCaptureScope) | |
| StartCapture(IMTLCommandQueue) | |
| StartCapture(IMTLDevice) | |
| StartCapture(MTLCaptureDescriptor, NSError) |
StartCapture(IMTLCaptureScope)
[Foundation.Export("startCaptureWithScope:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartCapture(Metal.IMTLCaptureScope captureScope);
[<Foundation.Export("startCaptureWithScope:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartCapture : Metal.IMTLCaptureScope -> unit
override this.StartCapture : Metal.IMTLCaptureScope -> unit
Parameters
- captureScope
- IMTLCaptureScope
- Attributes
Applies to
StartCapture(IMTLCommandQueue)
[Foundation.Export("startCaptureWithCommandQueue:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartCapture(Metal.IMTLCommandQueue commandQueue);
[<Foundation.Export("startCaptureWithCommandQueue:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartCapture : Metal.IMTLCommandQueue -> unit
override this.StartCapture : Metal.IMTLCommandQueue -> unit
Parameters
- commandQueue
- IMTLCommandQueue
- Attributes
Applies to
StartCapture(IMTLDevice)
[Foundation.Export("startCaptureWithDevice:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void StartCapture(Metal.IMTLDevice device);
[<Foundation.Export("startCaptureWithDevice:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartCapture : Metal.IMTLDevice -> unit
override this.StartCapture : Metal.IMTLDevice -> unit
Parameters
- device
- IMTLDevice
- Attributes
Applies to
StartCapture(MTLCaptureDescriptor, NSError)
[Foundation.Export("startCaptureWithDescriptor:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool StartCapture(Metal.MTLCaptureDescriptor descriptor, out Foundation.NSError? error);
[<Foundation.Export("startCaptureWithDescriptor:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member StartCapture : Metal.MTLCaptureDescriptor * NSError -> bool
override this.StartCapture : Metal.MTLCaptureDescriptor * NSError -> bool
Parameters
- descriptor
- MTLCaptureDescriptor
- error
- NSError
Returns
- Attributes