Defines wether the loader supports cascade loading the different faces.
This returns if the loader support the current file information.
defines the file extension of the file being loaded
defines the current compressed format in use iun the engine
defines the fallback internal texture if any
defines whether the texture is encoded as a base64
defines whether the texture data are stored as a buffer
true if the loader can load the specified file
Gets the fallback url in case the load fail. This can return null to allow the default fallback mecanism to work
the url of the texture
defines the current compressed format in use iun the engine
the fallback texture
Uploads the cube texture data to the WebGl Texture. It has alreday been bound.
contains the texture data
defines the BabylonJS internal texture
will be true if polynomials have been requested
defines the callback to trigger once the texture is ready
defines the callback to trigger in case of error
Uploads the 2D texture data to the WebGl Texture. It has alreday been bound once in the callback.
contains the texture data
defines the BabylonJS internal texture
defines the method to call once ready to upload
Transform the url before loading if required.
the url of the texture
defines the current compressed format in use iun the engine
the transformed texture
Generated using TypeDoc
This represents the required contract to create a new type of texture loader.