Share via


MTKTextureLoader.FromUrlsAsync Method

Definition

Overloads

Name Description
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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromUrlsAsync(Foundation.NSUrl[] urls, Foundation.NSDictionary? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public System.Threading.Tasks.Task<Metal.IMTLTexture[]> FromUrlsAsync(Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions? options);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
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