Compartir a través de


MTLDevice_Extensions.CreateLibrary Método

Definición

Sobrecargas

CreateLibrary(IMTLDevice, NSUrl, NSError)

Crea y devuelve una nueva biblioteca a partir de las funciones en la dirección URL especificada.

CreateLibrary(IMTLDevice, NSBundle, NSError)

Crea y devuelve una nueva biblioteca a partir de las funciones de la agrupación especificada.

CreateLibrary(IMTLDevice, NSUrl, NSError)

Crea y devuelve una nueva biblioteca a partir de las funciones en la dirección URL especificada.

[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

Parámetros

This
IMTLDevice

Instancia en la que opera este método.

url
NSUrl
error
NSError

Devoluciones

Atributos

Se aplica a

CreateLibrary(IMTLDevice, NSBundle, NSError)

Crea y devuelve una nueva biblioteca a partir de las funciones de la agrupación especificada.

[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

Parámetros

This
IMTLDevice

Instancia en la que opera este método.

bundle
NSBundle
error
NSError

Devoluciones

Atributos

Se aplica a