MPSFunction.CopyWithZone(NSZone, IMTLDevice) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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