7 releases (4 breaking)
0.12.1 | Jun 8, 2024 |
---|---|
0.12.0 | Apr 6, 2024 |
0.4.0 | Jan 8, 2024 |
0.3.0 | Jan 2, 2023 |
0.1.0 | Jun 13, 2022 |
#649 in Games
415 downloads per month
310KB
5K
SLoC
OC-Wasm-Immersive provides high-level APIs for accessing components provided by Immersive Engineering and Immersive Technology for applications running in the OC-Wasm architecture.
lib.rs
:
This crate provides high-level APIs for accessing components provided by Immersive Engineering and Immersive Technology.
As a general rule, APIs in this crate accept an Invoker
and a Buffer
scratch buffer, the
latter being used for encoding parameters and decoding return values. This buffer can be reused
between API calls to reduce heap allocations. In some cases the return value of an API may
borrow from the scratch buffer.
Features
- The
alloc
feature enables APIs that require dynamic memory allocation. - The
std
feature enables integration with the Rust standard library that can only be done outsideno_std
mode, and also enablesalloc
.
Important
You must depend on oc-wasm-futures
with the
proper-waker
feature in your own application if your chosen executor requires the
proper-waker
feature.
Dependencies
~2.5MB
~60K SLoC