Computes the size of the image based on its texture format, width, and height.
Computes the total size of the image and its mipmaps based on the texture format, width, height, and number of images.
Decodes a Nintendo GameCube or Wii texture and returns the decoded data as a Vec<u8>
.
Decodes a texture using a fast decoding method optimized for the Nintendo GameCube and Wii texture formats.
Decodes a Nintendo GameCube or Wii texture into the provided destination buffer.
Encodes a Nintendo GameCube or Wii texture into the specified format and returns the encoded data as a Vec<u8>
.
Encodes a Nintendo GameCube or Wii texture into the specified format and writes the result into the provided destination buffer.
Returns a formatted string representing the version, build profile, and target of the gctex
crate.