編輯

共用方式為


GLKTextureLoader.BeginLoadCubeMapAsync Method

Definition

Overloads

BeginLoadCubeMapAsync(NSUrl, NSDictionary, DispatchQueue)

Asynchronously loads a cube map.

BeginLoadCubeMapAsync(String, NSDictionary, DispatchQueue)

Asynchronously loads a cube map.

BeginLoadCubeMapAsync(NSUrl, NSDictionary, DispatchQueue)

Asynchronously loads a cube map.

public virtual System.Threading.Tasks.Task<GLKit.GLKTextureInfo> BeginLoadCubeMapAsync (Foundation.NSUrl filePath, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue);
abstract member BeginLoadCubeMapAsync : Foundation.NSUrl * Foundation.NSDictionary * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>
override this.BeginLoadCubeMapAsync : Foundation.NSUrl * Foundation.NSDictionary * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>

Parameters

filePath
NSUrl

The file that contains the texture.

textureOperations
NSDictionary

An NSDictionary populated with configuration options. Alternatively, use the strongly-typed version of this method that takes a GLKTextureOperations object.This parameter can be .

queue
DispatchQueue

The queue on which the callback method will be invoked, or null to invoke the method on the main dispatch queue.This parameter can be .

Returns

A task that represents the asynchronous BeginLoadCubeMap operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to

BeginLoadCubeMapAsync(String, NSDictionary, DispatchQueue)

Asynchronously loads a cube map.

public virtual System.Threading.Tasks.Task<GLKit.GLKTextureInfo> BeginLoadCubeMapAsync (string fileName, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue);
abstract member BeginLoadCubeMapAsync : string * Foundation.NSDictionary * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>
override this.BeginLoadCubeMapAsync : string * Foundation.NSDictionary * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>

Parameters

fileName
String

File name where the data will be loaded from.

textureOperations
NSDictionary

An NSDictionary populated with configuration options. Alternatively, use the strongly-typed version of this method that takes a GLKTextureOperations object.This parameter can be .

queue
DispatchQueue

The queue on which the callback method will be invoked, or null to invoke the method on the main dispatch queue.This parameter can be .

Returns

A task that represents the asynchronous BeginLoadCubeMap operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to