TextureLoader

Loads common image formats (PNG, JPG, etc.) into a Filament Texture.

Types

Link copied to clipboard

Specifies the intended use of the texture data, which influences the internal format selected.

Functions

Link copied to clipboard

Uploads image as type, on the engine's thread; null on failure.

Link copied to clipboard

Decodes image bytes without an Engine, so on any thread; null on failure. Finish with createTexture.

Link copied to clipboard

Decodes image bytes (PNG, JPG, etc.) into a Filament Texture.