TextureLoader

actual object TextureLoader

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

expect object TextureLoader

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

actual object TextureLoader

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

actual object TextureLoader

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

actual object 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.

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

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

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

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

Functions

Link copied to clipboard
actual fun loadTexture(engine: Engine, buffer: ByteArray, type: TextureLoader.TextureType): Texture?

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

expect fun loadTexture(engine: Engine, buffer: ByteArray, type: TextureLoader.TextureType): Texture?

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

actual fun loadTexture(engine: Engine, buffer: ByteArray, type: TextureLoader.TextureType): Texture?

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

actual fun loadTexture(engine: Engine, buffer: ByteArray, type: TextureLoader.TextureType): Texture?

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

actual fun loadTexture(engine: Engine, buffer: ByteArray, type: TextureLoader.TextureType): Texture?

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