Bearbeiten

Freigeben über


GLKTextureLoader.BeginTextureLoad Method

Definition

Overloads

BeginTextureLoad(String, nfloat, NSBundle, NSDictionary<NSString,NSNumber>, DispatchQueue, GLKTextureLoaderCallback)
BeginTextureLoad(String, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(String, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(NSUrl, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(NSData, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(NSData, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(CGImage, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(CGImage, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

BeginTextureLoad(NSUrl, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

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

[Foundation.Export("textureWithName:scaleFactor:bundle:options:queue:completionHandler:")]
[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 void BeginTextureLoad (string name, nfloat scaleFactor, Foundation.NSBundle bundle, Foundation.NSDictionary<Foundation.NSString,Foundation.NSNumber> options, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback block);
abstract member BeginTextureLoad : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber> * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit
override this.BeginTextureLoad : string * nfloat * Foundation.NSBundle * Foundation.NSDictionary<Foundation.NSString, Foundation.NSNumber> * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

Parameters

name
String
scaleFactor
nfloat
bundle
NSBundle

To be added.

This parameter can be null.

options
NSDictionary<NSString,NSNumber>

To be added.

This parameter can be null.

queue
DispatchQueue

To be added.

This parameter can be null.

Attributes

Applies to

BeginTextureLoad(String, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

public void BeginTextureLoad (string file, GLKit.GLKTextureOperations textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
member this.BeginTextureLoad : string * GLKit.GLKTextureOperations * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

Parameters

file
String

The file that contains the texture.

textureOperations
GLKTextureOperations

Operations to be performed during the image loading on the texture.

queue
DispatchQueue

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

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Remarks

Loads the data in the background. When the data has loaded, or an error has been encountered, the provided callback is invoked on the specified queue. If no queue is specified, the callback is invoked on the main queue.

Applies to

BeginTextureLoad(String, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

[Foundation.Export("textureWithContentsOfFile:options:queue:completionHandler:")]
public virtual void BeginTextureLoad (string file, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
abstract member BeginTextureLoad : string * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit
override this.BeginTextureLoad : string * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

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 null.

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 null.

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Attributes

Applies to

BeginTextureLoad(NSUrl, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

public void BeginTextureLoad (Foundation.NSUrl filePath, GLKit.GLKTextureOperations textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
member this.BeginTextureLoad : Foundation.NSUrl * GLKit.GLKTextureOperations * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

Parameters

filePath
NSUrl

The file that contains the texture.

textureOperations
GLKTextureOperations

Operations to be performed during the image loading on the texture.

queue
DispatchQueue

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

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Remarks

Loads the data in the background. When the data has loaded, or an error has been encountered, the provided callback is invoked on the specified queue. If no queue is specified, the callback is invoked on the main queue.

Applies to

BeginTextureLoad(NSData, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

[Foundation.Export("textureWithContentsOfData:options:queue:completionHandler:")]
public virtual void BeginTextureLoad (Foundation.NSData data, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
abstract member BeginTextureLoad : Foundation.NSData * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit
override this.BeginTextureLoad : Foundation.NSData * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

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 null.

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 null.

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Attributes

Applies to

BeginTextureLoad(NSData, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

public void BeginTextureLoad (Foundation.NSData data, GLKit.GLKTextureOperations textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
member this.BeginTextureLoad : Foundation.NSData * GLKit.GLKTextureOperations * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

Parameters

data
NSData

NSData object that contains the bitmap that will be loaded into the texture.

textureOperations
GLKTextureOperations

Operations to be performed during the image loading on the texture.

queue
DispatchQueue

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

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Remarks

Loads the data in the background. When the data has loaded, or an error has been encountered, the provided callback is invoked on the specified queue. If no queue is specified, the callback is invoked on the main queue.

Applies to

BeginTextureLoad(CGImage, GLKTextureOperations, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

public void BeginTextureLoad (CoreGraphics.CGImage image, GLKit.GLKTextureOperations textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
member this.BeginTextureLoad : CoreGraphics.CGImage * GLKit.GLKTextureOperations * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

Parameters

image
CGImage

CGImage that contains the image to be loaded into the texture.

textureOperations
GLKTextureOperations

Operations to be performed during the image loading on the texture.

queue
DispatchQueue

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

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Remarks

Loads the data in the background. When the data has loaded, or an error has been encountered, the provided callback is invoked on the specified queue. If no queue is specified, the callback is invoked on the main queue.

Applies to

BeginTextureLoad(CGImage, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

[Foundation.Export("textureWithCGImage:options:queue:completionHandler:")]
public virtual void BeginTextureLoad (CoreGraphics.CGImage image, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
abstract member BeginTextureLoad : CoreGraphics.CGImage * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit
override this.BeginTextureLoad : CoreGraphics.CGImage * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

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 null.

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 null.

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Attributes

Applies to

BeginTextureLoad(NSUrl, NSDictionary, DispatchQueue, GLKTextureLoaderCallback)

Asynchronously loads a texture.

[Foundation.Export("textureWithContentsOfURL:options:queue:completionHandler:")]
public virtual void BeginTextureLoad (Foundation.NSUrl filePath, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue, GLKit.GLKTextureLoaderCallback onComplete);
abstract member BeginTextureLoad : Foundation.NSUrl * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit
override this.BeginTextureLoad : Foundation.NSUrl * Foundation.NSDictionary * CoreFoundation.DispatchQueue * GLKit.GLKTextureLoaderCallback -> unit

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 null.

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 null.

onComplete
GLKTextureLoaderCallback

Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Attributes

Applies to