EmbarkStudios / texture-synthesis

🎨 Example-based texture synthesis written in Rust 🦀

Home Page:http://embark.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make cdylib

Jake-Shadle opened this issue · comments

One of the current users of texture-synthesis is in Blender addons, but these are interacting with the CLI rather than with a library, and makes the CLI a de facto standard interface which is not its intention. We should add a C wrapper into the library to allow the use of texture-synthesis as a C shared library which can have a smaller, simpler, API surface that can be more stable and easier to interact with for cases such as the above.

Bonus points if the C interface is also WASM compatible so the core service can be compiled into a WASM module. although would likely be quite unusable due to no threading