편집

다음을 통해 공유


GLKTextureLoader.BeginTextureLoadAsync Method

Definition

Overloads

BeginTextureLoadAsync(String, nfloat, NSBundle, NSDictionary<NSString,NSNumber>, DispatchQueue)
BeginTextureLoadAsync(String, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

BeginTextureLoadAsync(NSUrl, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

BeginTextureLoadAsync(NSData, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

BeginTextureLoadAsync(CGImage, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

BeginTextureLoadAsync(String, nfloat, NSBundle, NSDictionary<NSString,NSNumber>, DispatchQueue)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GLKit.GLKTextureInfo> BeginTextureLoadAsync (string name, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary<Foundation.NSString,Foundation.NSNumber> options, CoreFoundation.DispatchQueue queue);
abstract member BeginTextureLoadAsync : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber> * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>
override this.BeginTextureLoadAsync : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber> * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>

Parameters

name
String
scaleFactor
nfloat
bundle
NSBundle

To be added.This parameter can be .

options
NSDictionary<NSString,NSNumber>

To be added.This parameter can be .

queue
DispatchQueue

To be added.This parameter can be .

Returns

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

Attributes

Remarks

The BeginTextureLoadAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to

BeginTextureLoadAsync(String, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

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

Parameters

file
String

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 BeginTextureLoad operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to

BeginTextureLoadAsync(NSUrl, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

public virtual System.Threading.Tasks.Task<GLKit.GLKTextureInfo> BeginTextureLoadAsync (Foundation.NSUrl filePath, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue);
abstract member BeginTextureLoadAsync : Foundation.NSUrl * Foundation.NSDictionary * CoreFoundation.DispatchQueue -> System.Threading.Tasks.Task<GLKit.GLKTextureInfo>
override this.BeginTextureLoadAsync : 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 BeginTextureLoad operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to

BeginTextureLoadAsync(NSData, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

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

Parameters

data
NSData

NSData object that contains the bitmap that will be loaded into 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 BeginTextureLoad operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to

BeginTextureLoadAsync(CGImage, NSDictionary, DispatchQueue)

Asynchronously loads a texture.

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

Parameters

image
CGImage

CGImage that contains the image to be loaded into 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 BeginTextureLoad operation. The value of the TResult parameter is a GLKTextureLoaderCallback.

Applies to