MDLTexture.CreateIrradianceTextureCube 方法

定义

重载

CreateIrradianceTextureCube(MDLTexture, String, Vector2i)

从环境映射创建立方辐照度映射。

CreateIrradianceTextureCube(MDLTexture, String, Vector2i, Single)

CreateIrradianceTextureCube(MDLTexture, String, Vector2i)

从环境映射创建立方辐照度映射。

[Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:")]
public static ModelIO.MDLTexture CreateIrradianceTextureCube (ModelIO.MDLTexture texture, string name, OpenTK.Vector2i dimensions);
static member CreateIrradianceTextureCube : ModelIO.MDLTexture * string * OpenTK.Vector2i -> ModelIO.MDLTexture

参数

texture
MDLTexture
name
String

内容待定。

此参数可以为 null

dimensions
Vector2i

返回

属性

适用于

CreateIrradianceTextureCube(MDLTexture, String, Vector2i, Single)

[Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:roughness:")]
public static ModelIO.MDLTexture CreateIrradianceTextureCube (ModelIO.MDLTexture reflectiveTexture, string name, OpenTK.Vector2i dimensions, float roughness);
static member CreateIrradianceTextureCube : ModelIO.MDLTexture * string * OpenTK.Vector2i * single -> ModelIO.MDLTexture

参数

reflectiveTexture
MDLTexture
name
String

内容待定。

此参数可以为 null

dimensions
Vector2i
roughness
Single

返回

属性

适用于