Filament

actual object Filament

Filament is the main module initialization singleton.

The Filament object provides module-level initialization and setup. Most users do not need to interact with this directly; the Engine initialization handles necessary setup automatically. However, on some platforms, calling init() may be required for proper functionality.

See also

expect object Filament

Filament is the main module initialization singleton.

The Filament object provides module-level initialization and setup. Most users do not need to interact with this directly; the Engine initialization handles necessary setup automatically. However, on some platforms, calling init() may be required for proper functionality.

See also

actual object Filament

Filament is the main module initialization singleton.

The Filament object provides module-level initialization and setup. Most users do not need to interact with this directly; the Engine initialization handles necessary setup automatically. However, on some platforms, calling init() may be required for proper functionality.

See also

actual object Filament

Filament is the main module initialization singleton.

The Filament object provides module-level initialization and setup. Most users do not need to interact with this directly; the Engine initialization handles necessary setup automatically. However, on some platforms, calling init() may be required for proper functionality.

See also

actual object Filament

Filament is the main module initialization singleton.

The Filament object provides module-level initialization and setup. Most users do not need to interact with this directly; the Engine initialization handles necessary setup automatically. However, on some platforms, calling init() may be required for proper functionality.

See also

Functions

Link copied to clipboard
actual fun init()

Initializes the Filament module.

expect fun init()

Initializes the Filament module.

actual fun init()

Initializes the Filament module.

actual fun init()

Initializes the Filament module.

actual fun init()

Initializes the Filament module.

Link copied to clipboard
fun initJs(onReady: () -> Unit)

Loads filament-kmp.wasm (the page must include filament-kmp.js). onReady fires once the module is instantiated; all Filament API usage must happen inside or after it. Calling this again is safe — later calls resolve with the already-loaded module.