MTKTextureLoader.FromNamesAsync Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
FromNamesAsync(String[], nfloat, NSBundle, NSDictionary) | |
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions) |
Cria uma matriz de nova textura metal com as opções e especificadas, retornando uma tarefa que fornece a matriz resultante. |
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary) | |
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions) |
FromNamesAsync(String[], nfloat, NSBundle, NSDictionary)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromNamesAsync (string[] names, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary options);
abstract member FromNamesAsync : string[] * nfloat * Foundation.NSBundle * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
override this.FromNamesAsync : string[] * nfloat * Foundation.NSBundle * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
Parâmetros
- names
- String[]
- scaleFactor
- nfloat
- bundle
- NSBundle
- options
- NSDictionary
Retornos
Uma tarefa que representa a operação assíncrona FromNames. O valor do parâmetro TResult é um System.nfloat.
- Atributos
Aplica-se a
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions)
Cria uma matriz de nova textura metal com as opções e especificadas, retornando uma tarefa que fornece a matriz resultante.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromNamesAsync (string[] names, nfloat scaleFactor, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options);
member this.FromNamesAsync : string[] * nfloat * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
Parâmetros
- names
- String[]
Uma matriz de nomes de catálogo de ativos para imagens a serem carregadas.
- scaleFactor
- nfloat
O fator de escala a ser usado.
- bundle
- NSBundle
O pacote que contém os dados da imagem.
- options
- MTKTextureLoaderOptions
Opções para carregar os dados de textura.
Retornos
- Atributos
Aplica-se a
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, NSDictionary)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromNamesAsync (string[] names, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, Foundation.NSDictionary options);
abstract member FromNamesAsync : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
override this.FromNamesAsync : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
Parâmetros
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- NSDictionary
Retornos
- Atributos
Aplica-se a
FromNamesAsync(String[], nfloat, NSDisplayGamut, NSBundle, MTKTextureLoaderOptions)
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromNamesAsync (string[] names, nfloat scaleFactor, AppKit.NSDisplayGamut displayGamut, Foundation.NSBundle bundle, MetalKit.MTKTextureLoaderOptions options);
member this.FromNamesAsync : string[] * nfloat * AppKit.NSDisplayGamut * Foundation.NSBundle * MetalKit.MTKTextureLoaderOptions -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
Parâmetros
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- MTKTextureLoaderOptions
Retornos
- Atributos