Sets of helpers addressing the serialization and deserialization of environment texture stored in a BabylonJS env file. Those files are usually stored as .env files.
Creates an environment texture from a loaded cube texture.
defines the cube texture to convert in env file
a promise containing the environment data if succesfull.
Uploads the texture info contained in the env file to te GPU.
defines the internal texture to upload to
defines the buffer cotaining the data to load
defines the texture info retrieved through the GetEnvInfo method
Uploads spherical polynomials information to the texture.
defines the texture we are trying to upload the information to
defines the array buffer holding the data
defines the environment texture info retrieved through the GetEnvInfo method
Generated using TypeDoc