run

actual fun run(equirect: Texture): Texture

Converts the given equirectangular Texture to a cubemap.

The output cubemap is automatically created with default parameters (256 size, 9 levels) if not provided via a platform-specific overload.

Return

the resulting cubemap Texture

Parameters

equirect

the equirectangular texture to convert; must be SAMPLEABLE, 2D, width == 2*height, all mips allocated

expect fun run(equirect: Texture): Texture

Converts the given equirectangular Texture to a cubemap.

The output cubemap is automatically created with default parameters (256 size, 9 levels) if not provided via a platform-specific overload.

Return

the resulting cubemap Texture

Parameters

equirect

the equirectangular texture to convert; must be SAMPLEABLE, 2D, width == 2*height, all mips allocated

actual fun run(equirect: Texture): Texture

Converts the given equirectangular Texture to a cubemap.

The output cubemap is automatically created with default parameters (256 size, 9 levels) if not provided via a platform-specific overload.

Return

the resulting cubemap Texture

Parameters

equirect

the equirectangular texture to convert; must be SAMPLEABLE, 2D, width == 2*height, all mips allocated

actual fun run(equirect: Texture): Texture

Converts the given equirectangular Texture to a cubemap.

The output cubemap is automatically created with default parameters (256 size, 9 levels) if not provided via a platform-specific overload.

Return

the resulting cubemap Texture

Parameters

equirect

the equirectangular texture to convert; must be SAMPLEABLE, 2D, width == 2*height, all mips allocated

actual fun run(equirect: Texture): Texture

Converts the given equirectangular Texture to a cubemap.

The output cubemap is automatically created with default parameters (256 size, 9 levels) if not provided via a platform-specific overload.

Return

the resulting cubemap Texture

Parameters

equirect

the equirectangular texture to convert; must be SAMPLEABLE, 2D, width == 2*height, all mips allocated