SpecularFilter

actual class SpecularFilter(context: IBLPrefilterContext)

GPU-based implementation of the specular probe pre-integration filter.

An instance is needed per filter configuration. The filter uses D_GGX kernel with 1024 samples and 5 roughness levels by default.

Parameters

context
expect class SpecularFilter(context: IBLPrefilterContext)

GPU-based implementation of the specular probe pre-integration filter.

An instance is needed per filter configuration. The filter uses D_GGX kernel with 1024 samples and 5 roughness levels by default.

Parameters

context
actual class SpecularFilter(context: IBLPrefilterContext)

GPU-based implementation of the specular probe pre-integration filter.

An instance is needed per filter configuration. The filter uses D_GGX kernel with 1024 samples and 5 roughness levels by default.

Parameters

context
actual class SpecularFilter(context: IBLPrefilterContext)

GPU-based implementation of the specular probe pre-integration filter.

An instance is needed per filter configuration. The filter uses D_GGX kernel with 1024 samples and 5 roughness levels by default.

Parameters

context
actual class SpecularFilter(context: IBLPrefilterContext)

GPU-based implementation of the specular probe pre-integration filter.

An instance is needed per filter configuration. The filter uses D_GGX kernel with 1024 samples and 5 roughness levels by default.

Parameters

context

Constructors

Link copied to clipboard
actual constructor(context: IBLPrefilterContext)
expect constructor(context: IBLPrefilterContext)
actual constructor(context: IBLPrefilterContext)
actual constructor(context: IBLPrefilterContext)
actual constructor(context: IBLPrefilterContext)

Functions

Link copied to clipboard
actual fun destroy()

Destroys all GPU resources created during initialization.

expect fun destroy()

Destroys all GPU resources created during initialization.

actual fun destroy()

Destroys all GPU resources created during initialization.

actual fun destroy()

Destroys all GPU resources created during initialization.

actual fun destroy()

Destroys all GPU resources created during initialization.

Link copied to clipboard
actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

expect fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.

actual fun run(skybox: Texture): Texture

Generates a prefiltered specular cubemap from the given environment cubemap.