Düzenle

Aracılığıyla paylaş


MTKTextureLoader.FromUrlsAsync Method

Definition

Overloads

FromUrlsAsync(NSUrl[], NSDictionary)

Creates an array of new Metal textures from the resources at the specified urls.

FromUrlsAsync(NSUrl[], MTKTextureLoaderOptions)

Creates an array of new Metal textures from the resource sat the specified urls, returning a task that provides the resulting texture array.

FromUrlsAsync(NSUrl[], NSDictionary)

Creates an array of new Metal textures from the resources at the specified urls.

[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[]> FromUrlsAsync (Foundation.NSUrl[] urls, Foundation.NSDictionary options);
abstract member FromUrlsAsync : Foundation.NSUrl[] * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>
override this.FromUrlsAsync : Foundation.NSUrl[] * Foundation.NSDictionary -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>

Parameters

urls
NSUrl[]

The locations of the image data to load.

options
NSDictionary

Options for loading the texture data. This parameter can be .

Returns

A task that represents the asynchronous FromUrls operation. The value of the TResult parameter is a MTKTextureLoaderArrayCallback.

Attributes

Applies to

FromUrlsAsync(NSUrl[], MTKTextureLoaderOptions)

Creates an array of new Metal textures from the resource sat the specified urls, returning a task that provides the resulting texture array.

[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[]> FromUrlsAsync (Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions options);
member this.FromUrlsAsync : Foundation.NSUrl[] * MetalKit.MTKTextureLoaderOptions -> System.Threading.Tasks.Task<Metal.IMTLTexture[]>

Parameters

urls
NSUrl[]

The locations of the image data to load.

options
MTKTextureLoaderOptions

Options for loading the texture data.

Returns

Attributes

Applies to