MTKTextureLoader.FromNamesAsync 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
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[]>
매개 변수
- names
- String[]
- scaleFactor
- nfloat
- bundle
- NSBundle
- options
- NSDictionary
반환
Task<IMTLTexture[]>
비동기 FromNames 작업을 나타내는 작업입니다. TResult 매개 변수의 값은 System.nfloat입니다.
- 특성
적용 대상
FromNamesAsync(String[], nfloat, NSBundle, MTKTextureLoaderOptions)
지정된 및 옵션을 사용하여 새 Metal 텍스처 배열을 만들고 결과 배열을 제공하는 작업을 반환합니다.
[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[]>
매개 변수
- names
- String[]
로드할 이미지의 자산 카탈로그 이름 배열입니다.
- scaleFactor
- nfloat
사용할 배율 인수입니다.
- bundle
- NSBundle
이미지 데이터가 포함된 번들입니다.
- options
- MTKTextureLoaderOptions
텍스처 데이터를 로드하는 옵션입니다.
반환
Task<IMTLTexture[]>
- 특성
적용 대상
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[]>
매개 변수
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- NSDictionary
반환
Task<IMTLTexture[]>
- 특성
적용 대상
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[]>
매개 변수
- names
- String[]
- scaleFactor
- nfloat
- displayGamut
- NSDisplayGamut
- bundle
- NSBundle
- options
- MTKTextureLoaderOptions
반환
Task<IMTLTexture[]>
- 특성