MPSFunction.CopyWithZone(NSZone, IMTLDevice) 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.
Creates a copy of the function for the specified Metal device.
[Foundation.Export("copyWithZone:device:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MetalPerformanceShaders.MPSFunction CopyWithZone(Foundation.NSZone? zone, Metal.IMTLDevice? device);
[<Foundation.Export("copyWithZone:device:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CopyWithZone : Foundation.NSZone * Metal.IMTLDevice -> MetalPerformanceShaders.MPSFunction
override this.CopyWithZone : Foundation.NSZone * Metal.IMTLDevice -> MetalPerformanceShaders.MPSFunction
Parameters
- zone
- NSZone
The allocation zone, or null to use the default zone.
- device
- IMTLDevice
The device for the copy, or null to use the current device.
Returns
A copy of the function.
- Attributes