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 with the length-checked toInterop(array, size), 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 with the length-checked toInterop(array, size), 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 with the length-checked toInterop(array, size), 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 with the length-checked toInterop(array, size), or the usePinned helpers.
The arrays of a C mesh builder that reads them only in build(), when the vertex and triangle counts are known whatever order they were set in: records each array's length and checks it covers them.
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*).
Values that count elements of components values each take in an array of elementBytes-sized values, laid out strideBytes apart (0: tightly packed).
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.