Share via


MTKTextureLoader.FromUrls Method

Definition

Overloads

Name Description
FromUrls(NSUrl[], NSDictionary, NSError)
FromUrls(NSUrl[], NSDictionary, MTKTextureLoaderArrayCallback)
FromUrls(NSUrl[], MTKTextureLoaderOptions, NSError)

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

FromUrls(NSUrl[], MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)

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

FromUrls(NSUrl[], NSDictionary, NSError)

[Foundation.Export("newTexturesWithContentsOfURLs:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual Metal.IMTLTexture[] FromUrls(Foundation.NSUrl[] urls, Foundation.NSDictionary? options, out Foundation.NSError error);
[<Foundation.Export("newTexturesWithContentsOfURLs:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * NSError -> Metal.IMTLTexture[]
override this.FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * NSError -> Metal.IMTLTexture[]

Parameters

urls
NSUrl[]
options
NSDictionary
error
NSError

Returns

Attributes

Applies to

FromUrls(NSUrl[], NSDictionary, MTKTextureLoaderArrayCallback)

[Foundation.Export("newTexturesWithContentsOfURLs:options:completionHandler:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void FromUrls(Foundation.NSUrl[] urls, Foundation.NSDictionary? options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
[<Foundation.Export("newTexturesWithContentsOfURLs:options:completionHandler:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit
override this.FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit

Parameters

urls
NSUrl[]
options
NSDictionary
completionHandler
MTKTextureLoaderArrayCallback
Attributes

Applies to

FromUrls(NSUrl[], MTKTextureLoaderOptions, NSError)

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public Metal.IMTLTexture[] FromUrls(Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions? options, out Foundation.NSError error);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.FromUrls : Foundation.NSUrl[] * MetalKit.MTKTextureLoaderOptions * NSError -> Metal.IMTLTexture[]

Parameters

urls
NSUrl[]

The locations of the image data to load.

options
MTKTextureLoaderOptions

Options for loading the texture data.

error
NSError

Contains the error, if one occurred.

Returns

Attributes

Applies to

FromUrls(NSUrl[], MTKTextureLoaderOptions, MTKTextureLoaderArrayCallback)

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

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public void FromUrls(Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions? options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
member this.FromUrls : Foundation.NSUrl[] * MetalKit.MTKTextureLoaderOptions * MetalKit.MTKTextureLoaderArrayCallback -> unit

Parameters

urls
NSUrl[]

The locations of the image data to load.

options
MTKTextureLoaderOptions

Options for loading the texture data.

completionHandler
MTKTextureLoaderArrayCallback

A handler to run after the texture is loaded.

Attributes

Applies to