EquirectangularToCubemap

Converts an equirectangular image to a cubemap.

The input equirectangular texture must:

  • Be a 2D texture (width == 2 * height)

  • Have all mip levels allocated

  • Have SAMPLEABLE usage

Parameters

context

Converts an equirectangular image to a cubemap.

The input equirectangular texture must:

  • Be a 2D texture (width == 2 * height)

  • Have all mip levels allocated

  • Have SAMPLEABLE usage

Parameters

context

Converts an equirectangular image to a cubemap.

The input equirectangular texture must:

  • Be a 2D texture (width == 2 * height)

  • Have all mip levels allocated

  • Have SAMPLEABLE usage

Parameters

context

Converts an equirectangular image to a cubemap.

The input equirectangular texture must:

  • Be a 2D texture (width == 2 * height)

  • Have all mip levels allocated

  • Have SAMPLEABLE usage

Parameters

context

Converts an equirectangular image to a cubemap.

The input equirectangular texture must:

  • Be a 2D texture (width == 2 * height)

  • Have all mip levels allocated

  • Have SAMPLEABLE usage

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

Converts the given equirectangular Texture to a cubemap.

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

Converts the given equirectangular Texture to a cubemap.

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

Converts the given equirectangular Texture to a cubemap.

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

Converts the given equirectangular Texture to a cubemap.

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

Converts the given equirectangular Texture to a cubemap.