GLKit.GLKTextureLoader.BeginTextureLoad Method
Asynchronously loads a texture.

Syntax

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

Parameters

image
CGImage that contains the image to be loaded into 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