createSkybox

Creates a Filament Skybox from KTX1 bytes containing a cubemap.

Return

a SkyboxBundle containing the Skybox and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

expect fun createSkybox(engine: Engine, buffer: ByteArray, options: KTX1Loader.Options = Options()): KTX1Loader.SkyboxBundle

Creates a Filament Skybox from KTX1 bytes containing a cubemap.

Return

a SkyboxBundle containing the Skybox and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament Skybox from KTX1 bytes containing a cubemap.

Return

a SkyboxBundle containing the Skybox and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament Skybox from KTX1 bytes containing a cubemap.

Return

a SkyboxBundle containing the Skybox and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament Skybox from KTX1 bytes containing a cubemap.

Return

a SkyboxBundle containing the Skybox and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle