MDLTexture.CreateIrradianceTextureCube Method

Definition

Overloads

CreateIrradianceTextureCube(MDLTexture, String, NVector2i)

Creates an cubical irradiance map from an environment map.

[Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLTexture CreateIrradianceTextureCube(ModelIO.MDLTexture texture, string? name, CoreGraphics.NVector2i dimensions);
[<Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateIrradianceTextureCube : ModelIO.MDLTexture * string * CoreGraphics.NVector2i -> ModelIO.MDLTexture

Parameters

texture
MDLTexture
name
String

To be added.

This parameter can be null.

dimensions
NVector2i

Returns

Attributes

Applies to

CreateIrradianceTextureCube(MDLTexture, String, NVector2i, Single)

[Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:roughness:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static ModelIO.MDLTexture CreateIrradianceTextureCube(ModelIO.MDLTexture reflectiveTexture, string? name, CoreGraphics.NVector2i dimensions, float roughness);
[<Foundation.Export("irradianceTextureCubeWithTexture:name:dimensions:roughness:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member CreateIrradianceTextureCube : ModelIO.MDLTexture * string * CoreGraphics.NVector2i * single -> ModelIO.MDLTexture

Parameters

reflectiveTexture
MDLTexture
name
String
dimensions
NVector2i
roughness
Single

Returns

Attributes

Applies to