MDLTexture.CreateIrradianceTextureCube 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
| Name | Description |
|---|---|
| CreateIrradianceTextureCube(MDLTexture, String, NVector2i) |
Creates an cubical irradiance map from an environment map. |
| CreateIrradianceTextureCube(MDLTexture, String, NVector2i, Single) |
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
- 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