MTLDevice_Extensions.CreateLibrary Método

Definição

Sobrecargas

CreateLibrary(IMTLDevice, NSUrl, NSError)

Cria e retorna uma nova biblioteca das funções na URL especificada.

CreateLibrary(IMTLDevice, NSBundle, NSError)

Cria e retorna uma nova biblioteca das funções no pacote especificado.

CreateLibrary(IMTLDevice, NSUrl, NSError)

Cria e retorna uma nova biblioteca das funções na 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

A instância na qual esse método opera.

url
NSUrl
error
NSError

Retornos

Atributos

Aplica-se a

CreateLibrary(IMTLDevice, NSBundle, NSError)

Cria e retorna uma nova biblioteca das funções no pacote especificado.

[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

A instância na qual esse método opera.

bundle
NSBundle
error
NSError

Retornos

Atributos

Aplica-se a