共用方式為


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

傳回

屬性

適用於