Condividi tramite


MTLDevice_Extensions.CreateLibrary Metodo

Definizione

Overload

CreateLibrary(IMTLDevice, NSUrl, NSError)

Crea e restituisce una nuova libreria dalle funzioni all'URL specificato.

CreateLibrary(IMTLDevice, NSBundle, NSError)

Crea e restituisce una nuova libreria dalle funzioni nel bundle specificato.

CreateLibrary(IMTLDevice, NSUrl, NSError)

Crea e restituisce una nuova libreria dalle funzioni all'URL specificato.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLLibrary CreateLibrary (this Metal.IMTLDevice This, Foundation.NSUrl url, out Foundation.NSError error);
static member CreateLibrary : Metal.IMTLDevice * Foundation.NSUrl *  -> Metal.IMTLLibrary

Parametri

This
IMTLDevice

Istanza in cui funziona questo metodo.

url
NSUrl
error
NSError

Restituisce

Attributi

Si applica a

CreateLibrary(IMTLDevice, NSBundle, NSError)

Crea e restituisce una nuova libreria dalle funzioni nel bundle specificato.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Metal.IMTLLibrary CreateLibrary (this Metal.IMTLDevice This, Foundation.NSBundle bundle, out Foundation.NSError error);
static member CreateLibrary : Metal.IMTLDevice * Foundation.NSBundle *  -> Metal.IMTLLibrary

Parametri

This
IMTLDevice

Istanza in cui funziona questo metodo.

bundle
NSBundle
error
NSError

Restituisce

Attributi

Si applica a