MTKTextureLoader.FromNamesAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
FromNamesAsync(String[], nfloat, NSBundle, NSDictionary) | |
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions) |
Crée un tableau de nouvelle texture Metal avec les options et spécifiées, en retournant une tâche qui fournit le tableau résultant. |
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[]>
Paramètres
- names
- String[]
- scaleFactor
- nfloat
- bundle
- NSBundle
- options
- NSDictionary
Retours
Tâche qui représente l’opération FromNames asynchrone. La valeur du paramètre TResult est system.nfloat.
- Attributs
S’applique à
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions)
Crée un tableau de nouvelle texture Metal avec les options et spécifiées, en retournant une tâche qui fournit le tableau résultant.
[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[]>
Paramètres
- names
- String[]
Tableau de noms de catalogue de ressources pour les images à charger.
- scaleFactor
- nfloat
Facteur d’échelle à utiliser.
- bundle
- NSBundle
Bundle qui contient les données d’image.
- options
- MTKTextureLoaderOptions
Options de chargement des données de texture.
Retours
- Attributs
S’applique à
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[]>
Paramètres
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- NSDictionary
Retours
- Attributs
S’applique à
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[]>
Paramètres
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- MTKTextureLoaderOptions
Retours
- Attributs