Edytuj

Udostępnij za pośrednictwem


GLKTextureLoader.CubeMapFromFiles Method

Definition

Overloads

CubeMapFromFiles(String[], NSDictionary, NSError)

Loads a cube map synchronously.

CubeMapFromFiles(String[], GLKTextureOperations, NSError)

Loads a cube map synchronously.

CubeMapFromFiles(String[], NSDictionary, NSError)

Loads a cube map synchronously.

public static GLKit.GLKTextureInfo CubeMapFromFiles (string[] files, Foundation.NSDictionary textureOperations, out Foundation.NSError error);
static member CubeMapFromFiles : string[] * Foundation.NSDictionary *  -> GLKit.GLKTextureInfo

Parameters

files
String[]

Six files that point to the sides of the cube.

textureOperations
NSDictionary

An NSDictionary populated with configuration options. Alternatively, use the strongly-typed version of this method that takes a GLKTextureOperations object.

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

CubeMapFromFiles(String[], GLKTextureOperations, NSError)

Loads a cube map synchronously.

public static GLKit.GLKTextureInfo CubeMapFromFiles (string[] files, GLKit.GLKTextureOperations textureOperations, out Foundation.NSError error);
static member CubeMapFromFiles : string[] * GLKit.GLKTextureOperations *  -> GLKit.GLKTextureInfo

Parameters

files
String[]

Six files that point to the sides of the cube.

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