run

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — returns the input texture unchanged; filament.js does not expose IBLPrefilterContext.")
actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

The environment cubemap must be SAMPLEABLE and have all mip levels allocated. The output is automatically created with default parameters if not provided via a platform-specific overload.

Return

the prefiltered specular Texture

Parameters

skybox

the environment cubemap to prefilter; must be SAMPLEABLE with all levels allocated

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — returns the input texture unchanged; filament.js does not expose IBLPrefilterContext.")
expect fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

The environment cubemap must be SAMPLEABLE and have all mip levels allocated. The output is automatically created with default parameters if not provided via a platform-specific overload.

Return

the prefiltered specular Texture

Parameters

skybox

the environment cubemap to prefilter; must be SAMPLEABLE with all levels allocated

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — returns the input texture unchanged; filament.js does not expose IBLPrefilterContext.")
actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

The environment cubemap must be SAMPLEABLE and have all mip levels allocated. The output is automatically created with default parameters if not provided via a platform-specific overload.

Return

the prefiltered specular Texture

Parameters

skybox

the environment cubemap to prefilter; must be SAMPLEABLE with all levels allocated

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — returns the input texture unchanged; filament.js does not expose IBLPrefilterContext.")
actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

The environment cubemap must be SAMPLEABLE and have all mip levels allocated. The output is automatically created with default parameters if not provided via a platform-specific overload.

Return

the prefiltered specular Texture

Parameters

skybox

the environment cubemap to prefilter; must be SAMPLEABLE with all levels allocated

@PlatformGap(platforms = [FilamentPlatform.WEB], behavior = "silent no-op — returns the input texture unchanged; filament.js does not expose IBLPrefilterContext.")
actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

The environment cubemap must be SAMPLEABLE and have all mip levels allocated. The output is automatically created with default parameters if not provided via a platform-specific overload.

Return

the prefiltered specular Texture

Parameters

skybox

the environment cubemap to prefilter; must be SAMPLEABLE with all levels allocated