Sprache

MPSFunction.CopyWithZone(NSZone, IMTLDevice) Methode

Definition

Erstellt eine Kopie der Funktion für das angegebene Metallgerät.

[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

Parameter

zone
NSZone

Die Zuordnungszone oder null die Standardzone zu verwenden.

device
IMTLDevice

Das Gerät für die Kopie oder null die Verwendung des aktuellen Geräts.

Gibt zurück

Eine Kopie der Funktion.

Attribute

Gilt für: