#bindings #engine #api #houdini #idiomatic #hapi #high-level

sys hapi-sys

Raw bindings to SideFx Houdini Engine API

5 releases

0.2.0 Oct 30, 2022
0.1.3 Dec 18, 2021
0.1.2 Dec 15, 2021
0.1.1 Jan 19, 2021
0.1.0 Jan 19, 2021

#2 in #hapi

MIT license

12KB
240 lines

hapi-sys

Raw Rust bindings to Houdini Engine 19.5 API

For high-level idiomatic API see hapi-rs

Cargo


lib.rs:

Info

Raw bindings to Houdini Engine C API A much more nicer, Rusty crate hapi-rs is using these bindings and currently in WIP.

There's a feature flag available called rustify which makes enums and their variants less ugly, for example HAPI_Result::HAPI_RESULT_SUCCESS becomes HapiResult::Success

Building

HFS variable must be set, which is used to find Houdini header files and libraries

Running Tests

env LD_LIBRARY_PATH=$HDSO cargo test // on Linux

env DYLD_FALLBACK_LIBRARY_PATH=$HDSO cargo test // on Mac

On Windows, make sure $HFS/bin is in $PATH

No runtime deps

~0–1.9MB
~36K SLoC