#bindings #linux #anari #anari-sys

sys anari_sys

FFI bindings for the ANARI frontend library, a 3D rendering engine interface API

7 releases

0.1.6+anari.0.13.1 Mar 12, 2025
0.1.5+anari.0.13.0 Mar 8, 2025
0.1.4+anari.0.12.1 Jan 14, 2025
0.1.2+anari.0.11.1 Oct 29, 2024
0.1.0+anari.0.10.0 Jul 21, 2024

#202 in Graphics APIs

Download history 247/week @ 2025-01-10 32/week @ 2025-01-17 3/week @ 2025-01-31 1/week @ 2025-02-07 3/week @ 2025-02-21 10/week @ 2025-02-28 240/week @ 2025-03-07 53/week @ 2025-03-14 3/week @ 2025-03-21

296 downloads per month

Apache-2.0

75KB
1.5K SLoC

Rust 1K SLoC // 0.0% comments C++ 735 SLoC // 0.1% comments

anari_sys

Latest Version anari_sys documentation ANARI 1.0 ANARI-SDK 0.13.1 build

Raw Rust bindings to the ANARI frontend library (https://github.com/KhronosGroup/ANARI-SDK), a 3D rendering engine interface API.

Bindings

This library includes a pre-generated bindings.rs file. New bindings can be generated using the bindgen feature:

cargo build --features bindgen

Example

# with the libanari_library_helide dynamic library findable (e.g. in LD_LIBRARY_PATH on linux)
cargo run --example info helide

Licence

anari_sys is licensed under the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be licensed as above, without any additional terms or conditions.

Dependencies

~9–410KB