gctex 0.3.12

gctex is a Rust crate designed for encoding and decoding texture formats used in the Nintendo GameCube and Wii games. The library provides C bindings, making it useful in both Rust and C/C++ based projects.
Documentation
1
2
3
4
5
6
7
8
#include "ImagePlatform.hpp"

extern "C" {
void impl_rii_decode(u8* dst, const u8* src, u32 width, u32 height,
                     u32 texformat, const u8* tlut, u32 tlutformat) {
  librii::image::decode(dst, src, width, height, texformat, tlut, tlutformat);
}
}