GLKit.GLKTextureLoader.BeginTextureLoad Method
Asynchronously loads a texture.

Syntax

[Foundation.Export("textureWithContentsOfURL:options:queue:completionHandler:")]
public virtual void BeginTextureLoad (Foundation.NSUrl filePath, Foundation.NSDictionary textureOperations, CoreFoundation.DispatchQueue queue, [ObjCRuntime.BlockProxy(typeof(ObjCRuntime.Trampolines/NIDGLKTextureLoaderCallback))] GLKTextureLoaderCallback onComplete)

Parameters

filePath
The file that contains the texture.
textureOperations

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

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
Callback to invoke when the texture is loaded. The callback receives a GLKTextureInfo and an NSError.

Remarks

Requirements

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