GLKit.GLKTextureLoader.BeginTextureLoad Method
Asynchronously loads a texture.

Syntax

public void BeginTextureLoad (Foundation.NSUrl filePath, GLKTextureOperations textureOperations, CoreFoundation.DispatchQueue queue, GLKTextureLoaderCallback onComplete)

Parameters

filePath
The file that contains the texture.
textureOperations
Operations to be performed during the image loading on the texture.
queue
The queue on which the callback method will be invoked, or null to invoke the method on the main dispatch queue.
onComplete
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.

Requirements

Namespace: GLKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0