GLKTextureLoader.CubeMapFromUrl 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
CubeMapFromUrl(NSUrl, NSDictionary, NSError) |
同步加载多维数据集映射。 |
CubeMapFromUrl(NSUrl, GLKTextureOperations, NSError) |
同步加载多维数据集映射。 |
CubeMapFromUrl(NSUrl, NSDictionary, NSError)
同步加载多维数据集映射。
[Foundation.Export("cubeMapWithContentsOfURL:options:error:")]
public static GLKit.GLKTextureInfo CubeMapFromUrl (Foundation.NSUrl url, Foundation.NSDictionary textureOperations, out Foundation.NSError error);
static member CubeMapFromUrl : Foundation.NSUrl * Foundation.NSDictionary * -> GLKit.GLKTextureInfo
参数
- url
- NSUrl
指向要加载的纹理的 URL。
- textureOperations
- NSDictionary
填充了配置选项的 NSDictionary。 或者,使用此方法的强类型版本,该方法采用 GLKTextureOperations 对象。
此参数可以为 null
。
- error
- NSError
错误结果。
返回
出现错误时,这将返回 null,错误的详细信息将存储在 NSError 参数中。 否则为 GLKTextureInfo 的实例。
- 属性
适用于
CubeMapFromUrl(NSUrl, GLKTextureOperations, NSError)
同步加载多维数据集映射。
public static GLKit.GLKTextureInfo CubeMapFromUrl (Foundation.NSUrl url, GLKit.GLKTextureOperations textureOperations, out Foundation.NSError error);
static member CubeMapFromUrl : Foundation.NSUrl * GLKit.GLKTextureOperations * -> GLKit.GLKTextureInfo
参数
- url
- NSUrl
指向要加载的纹理的 URL。
- textureOperations
- GLKTextureOperations
在纹理上加载图像期间要执行的操作。
- error
- NSError
错误结果。
返回
出现错误时,这将返回 null,错误的详细信息将存储在 NSError 参数中。 否则为 GLKTextureInfo 的实例。