Ian Chamberlain
340a38489c
Update citro3d to use upstream ctru_sys types
2 years ago
Ian Chamberlain
6ba85149d8
Use bytemuck instead of incorrect align_to
...
Std docs say that prorgams should not rely on `align_to` to return empty
prefix/suffix for correctess, only performance. `bytemuck` on the other
hand deals with alignment for correctness so let's use that.
3 years ago
Ian Chamberlain
4492b2d293
Implement some basic shader program types
3 years ago
Ian Chamberlain
e5e2e63586
port frame begin/end to safe rust
3 years ago
Ian Chamberlain
184060c63d
Update render target API for auto framebuffer fmt
...
Transfer flags can be an implementation detail this way, although it
might need to be exposed eventually.
3 years ago
Ian Chamberlain
83b613684a
First pass at some safe wrappers for render target
3 years ago
Ian Chamberlain
5a3fd9d21b
Varios cleanup + simplify example
3 years ago
Ian Chamberlain
5743da3d56
Initial attempt at build script compilation
3 years ago
Ian Chamberlain
1177a32254
Completely remove ctru-sys dep and fix some lints
3 years ago
Ian Chamberlain
484e971dd5
Add compiling example using -sys bindings
...
Fix some more issues with bindings and add README
3 years ago