rust3ds / citro3d-rs

Rust bindings and safe wrappers for citro3d
https://rust3ds.github.io/citro3d-rs
14 stars 11 forks source link

Missing Bindings: citro3d/tex3ds.h #6

Closed hYdos closed 1 year ago

hYdos commented 2 years ago

Without these bindings, It is currently impossible to use textures within a rust environment

EDIT: this may technically come under another repo, But its a essential feature

ian-h-chamberlain commented 2 years ago

Ah, this is probably just an oversight from the early days of this repo since citro3d.h does not automatically include tex3ds.h (but does automatically include pretty much everything else in c3d/).

There are a few options that would probably resolve it easily:

I don't think it makes sense to split out to a separate repo since there are just a handful of types and functions in there. Some of them look to be static inline and so probably will need to be ported by hand as well for full parity with the C header.

ian-h-chamberlain commented 1 year ago

This should be completely resolved as of #26 since bindings are now generated on the fly, including static inline functions and tex3ds.h.