Düzenle

Aracılığıyla paylaş


MTKTextureLoader.FromUrls Method

Definition

Overloads

FromUrls(NSUrl[], NSDictionary, NSError)

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

FromUrls(NSUrl[], NSDictionary, MTKTextureLoaderArrayCallback)

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

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)

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

[Foundation.Export("newTexturesWithContentsOfURLs:options:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual Metal.IMTLTexture[] FromUrls (Foundation.NSUrl[] urls, Foundation.NSDictionary options, out Foundation.NSError error);
abstract member FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary *  -> Metal.IMTLTexture[]
override this.FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary *  -> 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 null.

error
NSError

Contains the error, if one occurred.

Returns

Attributes

Applies to

FromUrls(NSUrl[], NSDictionary, MTKTextureLoaderArrayCallback)

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

[Foundation.Export("newTexturesWithContentsOfURLs:options:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void FromUrls (Foundation.NSUrl[] urls, Foundation.NSDictionary options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
abstract member FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit
override this.FromUrls : Foundation.NSUrl[] * Foundation.NSDictionary * MetalKit.MTKTextureLoaderArrayCallback -> unit

Parameters

urls
NSUrl[]

The locations of the image data to load.

options
NSDictionary

Options for loading the texture data

.

This parameter can be null.

completionHandler
MTKTextureLoaderArrayCallback

A handler to run after the texture is loaded.

Attributes

Applies to

FromUrls(NSUrl[], MTKTextureLoaderOptions, NSError)

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 Metal.IMTLTexture[] FromUrls (Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions options, out Foundation.NSError error);
member this.FromUrls : Foundation.NSUrl[] * MetalKit.MTKTextureLoaderOptions *  -> 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.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public void FromUrls (Foundation.NSUrl[] urls, MetalKit.MTKTextureLoaderOptions options, MetalKit.MTKTextureLoaderArrayCallback completionHandler);
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