o
odinpkg.dev
packages / binding / basisu_odin

basisu_odin

6c0fe6bbinding

A set of Odin bindings for the Basis Universal Texture Codec

Apache-2.0 · updated 3 months ago

basisu_odin

A set of Odin bindings for the Basis Universal Texture Codec

Currently tracked version is version 2.1.0

NOTE

These bindings are designed to match the basisu_wasm_X.h headers, which are intended for use in C and C FFI (such as Odin). They are complete, however I'm currently mainly developing on a Windows system and cannot debug foreign linking for the Linux and Mac binaries. Please feel free to open a PR if these bindings do not properly bind to a given platform.

Additional note: In the original API, the wasm_bool_t type is a typedef for a uint32_t. However, given its intended usage as a boolean type, I've chosen to bind this as an Odin b32. This should not cause any issues, but if any arise please let me know in an issue. Thanks!