createIndirectLight

Creates a Filament IndirectLight from KTX1 bytes containing a cubemap and spherical harmonics.

Return

an IndirectLightBundle containing the IndirectLight and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament IndirectLight from KTX1 bytes containing a cubemap and spherical harmonics.

Return

an IndirectLightBundle containing the IndirectLight and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament IndirectLight from KTX1 bytes containing a cubemap and spherical harmonics.

Return

an IndirectLightBundle containing the IndirectLight and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament IndirectLight from KTX1 bytes containing a cubemap and spherical harmonics.

Return

an IndirectLightBundle containing the IndirectLight and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle

Creates a Filament IndirectLight from KTX1 bytes containing a cubemap and spherical harmonics.

Return

an IndirectLightBundle containing the IndirectLight and its cubemap Texture

Parameters

engine

the Engine to use

buffer

the raw KTX1 data

options

decoding options, including sRGB toggle