Package-level declarations
Types
Kotlin lambdas behind C callbacks. Pass register's result as the C userData and userOnly or argUser as the function pointer; the lambda receives the callback's leading pointer argument (or NullPointer). A once callback frees itself after firing; release the others.
Kotlin lambdas behind C callbacks. Pass register's result as the C userData and userOnly or argUser as the function pointer; the lambda receives the callback's leading pointer argument (or NullPointer). A once callback frees itself after firing; release the others.
Kotlin lambdas behind C callbacks. Pass register's result as the C userData and userOnly or argUser as the function pointer; the lambda receives the callback's leading pointer argument (or NullPointer). A once callback frees itself after firing; release the others.
The C symbol a common external fun binds to (@SymbolName on Kotlin/Native, absent elsewhere).
The C symbol a common external fun binds to (@SymbolName on Kotlin/Native, absent elsewhere).
Hands Kotlin arrays to C for the duration of one call: pinned on Native, copied into native memory (and back with fromInterop) on JVM, Android and web. Empty and null arrays map to NullPointer. Use through interopScope or the usePinned helpers.
Hands Kotlin arrays to C for the duration of one call: pinned on Native, copied into native memory (and back with fromInterop) on JVM, Android and web. Empty and null arrays map to NullPointer. Use through interopScope or the usePinned helpers.
Hands Kotlin arrays to C for the duration of one call: pinned on Native, copied into native memory (and back with fromInterop) on JVM, Android and web. Empty and null arrays map to NullPointer. Use through interopScope or the usePinned helpers.
Hands Kotlin arrays to C for the duration of one call: pinned on Native, copied into native memory (and back with fromInterop) on JVM, Android and web. Empty and null arrays map to NullPointer. Use through interopScope or the usePinned helpers.
Address of a native object: Long on JVM, Android and Native; a wasm32 address (Int) on web.
Address of a native object: Long on JVM, Android and Native; a wasm32 address (Int) on web.
Address of a native object: Long on JVM, Android and Native; a wasm32 address (Int) on web.
Address of a native object: Long on JVM, Android and Native; a wasm32 address (Int) on web.
size bytes of an array handed to an asynchronous set*Buffer/setImage: pass all four fields to the C call. Filament's release callback drops the copy (unpins on Native), then runs the upload's onRelease.
Properties
True on web: wasm has no threads, so nothing may block waiting on Filament's driver.
True on web: wasm has no threads, so nothing may block waiting on Filament's driver.
True on web: wasm has no threads, so nothing may block waiting on Filament's driver.
True on web: wasm has no threads, so nothing may block waiting on Filament's driver.
Functions
Element index of a float array C filled in. On js a FloatArray keeps the raw f32 value (0.7f reads back as 0.699999988), so this returns the shortest decimal with the same f32 value; elsewhere it's just get.
Element index of a float array C filled in. On js a FloatArray keeps the raw f32 value (0.7f reads back as 0.699999988), so this returns the shortest decimal with the same f32 value; elsewhere it's just get.
Element index of a float array C filled in. On js a FloatArray keeps the raw f32 value (0.7f reads back as 0.699999988), so this returns the shortest decimal with the same f32 value; elsewhere it's just get.
Element index of a float array C filled in. On js a FloatArray keeps the raw f32 value (0.7f reads back as 0.699999988), so this returns the shortest decimal with the same f32 value; elsewhere it's just get.
A copy of count floats of an array C owns (math mirrors: a const FilaMat4f* is 16 per matrix).
A copy of count floats of an array C owns (math mirrors: a const FilaMat4f* is 16 per matrix).
A copy of count floats of an array C owns (math mirrors: a const FilaMat4f* is 16 per matrix).
A copy of count floats of an array C owns (math mirrors: a const FilaMat4f* is 16 per matrix).
A copy of count pointers of an array C owns (T* const*, const char* const*).
A copy of count pointers of an array C owns (T* const*, const char* const*).
A copy of count pointers of an array C owns (T* const*, const char* const*).
A copy of count pointers of an array C owns (T* const*, const char* const*).
Reads a NUL-terminated UTF-8 string returned by C, or null for NullPointer.
Reads a NUL-terminated UTF-8 string returned by C, or null for NullPointer.
Reads a NUL-terminated UTF-8 string returned by C, or null for NullPointer.
Reads a NUL-terminated UTF-8 string returned by C, or null for NullPointer.
A NUL-terminated UTF-8 copy of string for a const char* parameter; null stays NullPointer.
Calls block with a const char* copy of this string, valid for the call.