GLKTextureLoader.CubeMapFromFile Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CubeMapFromFile(String, NSDictionary, NSError) |
Loads a cube map synchronously. |
CubeMapFromFile(String, GLKTextureOperations, NSError) |
Loads a cube map synchronously. |
CubeMapFromFile(String, NSDictionary, NSError)
Loads a cube map synchronously.
[Foundation.Export("cubeMapWithContentsOfFile:options:error:")]
public static GLKit.GLKTextureInfo CubeMapFromFile (string path, Foundation.NSDictionary textureOperations, out Foundation.NSError error);
static member CubeMapFromFile : string * Foundation.NSDictionary * -> GLKit.GLKTextureInfo
Parameters
- path
- String
The file that contains the texture.
- 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
CubeMapFromFile(String, GLKTextureOperations, NSError)
Loads a cube map synchronously.
public static GLKit.GLKTextureInfo CubeMapFromFile (string path, GLKit.GLKTextureOperations textureOperations, out Foundation.NSError error);
static member CubeMapFromFile : string * GLKit.GLKTextureOperations * -> GLKit.GLKTextureInfo
Parameters
- path
- String
The file that contains the texture.
- 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.