Düzenle

Aracılığıyla paylaş


GLKTextureLoader.FromUrl Method

Definition

Overloads

FromUrl(NSUrl, NSDictionary, NSError)

Loads a texture from a file pointed to by the url.

FromUrl(NSUrl, GLKTextureOperations, NSError)

Loads a texture from a file pointed to by the url.

FromUrl(NSUrl, NSDictionary, NSError)

Loads a texture from a file pointed to by the url.

[Foundation.Export("textureWithContentsOfURL:options:error:")]
public static GLKit.GLKTextureInfo FromUrl (Foundation.NSUrl url, Foundation.NSDictionary textureOperations, out Foundation.NSError error);
static member FromUrl : Foundation.NSUrl * Foundation.NSDictionary *  -> GLKit.GLKTextureInfo

Parameters

url
NSUrl

URL pointing to the texture to load.

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.

error
NSError

Error result.

Returns

On error, this will return null, the details of the error will be stored in the NSError parameter. Otherwise the instance of the GLKTextureInfo.

Attributes

Applies to

FromUrl(NSUrl, GLKTextureOperations, NSError)

Loads a texture from a file pointed to by the url.

public static GLKit.GLKTextureInfo FromUrl (Foundation.NSUrl url, GLKit.GLKTextureOperations textureOperations, out Foundation.NSError error);
static member FromUrl : Foundation.NSUrl * GLKit.GLKTextureOperations *  -> GLKit.GLKTextureInfo

Parameters

url
NSUrl

URL pointing to the texture to load.

textureOperations
GLKTextureOperations

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

error
NSError

Error result.

Returns

On error, this will return null, the details of the error will be stored in the NSError parameter. Otherwise the instance of the GLKTextureInfo.

Applies to