Expand description
§wiiu_swizzle
wiiu_swizzle is a CPU implementation of memory tiling for texture surfaces for the Wii U GPU hardware.
Most applications should construct a Gx2Surface and use Gx2Surface::deswizzle to correctly handle offsets and parameter changes for different mip levels.
Structs§
- Gx2Surface
- A view over Wii U GX2 texture surface to simplify swizzling operations.
Enums§
- AaMode
- GX2AAMode for the number of samples
- Surface
Dim - GX2SurfaceDim for the dimensionality of the texture surface
- Surface
Format - GX2SurfaceFormat for the format of the image data
- Swizzle
Error - Errors than can occur while converting between tiled and linear memory layouts.
- Tile
Mode - GX2TileMode affecting the tiled memory layout and size
Functions§
- deswizzle_
mipmap - Convert the tiled data in
source
to a combined linear vector. - swizzle_
mipmap - Convert the linear data in
source
to a combined tiled vector.