Closed hYdos closed 1 year 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:
bindings.h
or something that includes both citro3d.h
and tex3ds.h
, and run bindgen on thatcitro3d.h
and tex3ds.h
and put the output from tex3ds.h
in a mod tex3ds
or somethingtex3ds.h
itself (instead of citro3d.h
), since it apparently includes citro3d.h
alreadyI 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.
This should be completely resolved as of #26 since bindings are now generated on the fly, including static inline
functions and tex3ds.h
.
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