MTKTextureLoader.FromNamesAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
FromNamesAsync(String[], nfloat, NSBundle, NSDictionary) | |
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions) |
Erstellt ein Array der neuen Metal-Textur mit den angegebenen Optionen und und gibt eine Aufgabe zurück, die das resultierende Array bereitstellt. |
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[]>
Parameter
- names
- String[]
- scaleFactor
- nfloat
- bundle
- NSBundle
- options
- NSDictionary
Gibt zurück
Eine Aufgabe, die den asynchronen FromNames-Vorgang darstellt. Der Wert des TResult-Parameters ist system.nfloat.
- Attribute
Gilt für:
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions)
Erstellt ein Array der neuen Metal-Textur mit den angegebenen Optionen und und gibt eine Aufgabe zurück, die das resultierende Array bereitstellt.
[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[]>
Parameter
- names
- String[]
Ein Array von Ressourcenkatalognamen für zu ladende Bilder.
- scaleFactor
- nfloat
Der zu verwendende Skalierungsfaktor.
- bundle
- NSBundle
Das Bündel, das die Bilddaten enthält.
- options
- MTKTextureLoaderOptions
Optionen zum Laden der Texturdaten.
Gibt zurück
- Attribute
Gilt für:
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[]>
Parameter
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- NSDictionary
Gibt zurück
- Attribute
Gilt für:
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[]>
Parameter
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- MTKTextureLoaderOptions
Gibt zurück
- Attribute