#rendering-engine #3d-rendering #api-bindings #interface #front-end #anari

sys anari_sys

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

1 unstable release

0.1.0+anari.0.10.0 Jul 21, 2024

#28 in Rendering engine

Apache-2.0

60KB
1.5K SLoC

C++ 722 SLoC // 0.1% comments Rust 696 SLoC // 0.0% comments

anari_sys

Latest Version anari_sys documentation ANARI 1.0 ANARI-SDK 0.10.0 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

~8–315KB