BrawlCrate v0.41
Wii File Editor
|
Public Member Functions | |
int | GetMipOffset (int width, int height, int mipLevel) |
int | GetMipOffset (ref int width, ref int height, int mipLevel) |
int | GetFileSize (int width, int height, int mipLevels) |
virtual FileMap | EncodeTPLTextureIndexed (Bitmap src, int numColors, WiiPaletteFormat format, QuantizationAlgorithm algorithm, out FileMap paletteFile) |
virtual FileMap | EncodeTextureIndexed (Bitmap src, int mipLevels, int numColors, WiiPaletteFormat format, QuantizationAlgorithm algorithm, out FileMap paletteFile) |
virtual FileMap | EncodeREFTTextureIndexed (Bitmap src, int mipLevels, int numColors, WiiPaletteFormat format, QuantizationAlgorithm algorithm) |
virtual FileMap | EncodeTPLTextureIndexed (Bitmap src, int mipLevels, WiiPaletteFormat format, out FileMap paletteFile) |
virtual FileMap | EncodeREFTTextureIndexed (Bitmap src, int mipLevels, WiiPaletteFormat format) |
virtual FileMap | EncodeTEX0TextureIndexed (Bitmap src, int mipLevels, WiiPaletteFormat format, out FileMap paletteFile) |
virtual FileMap | EncodeREFTTexture (Bitmap src, int mipLevels, WiiPaletteFormat format) |
virtual FileMap | EncodeTEX0Texture (Bitmap src, int mipLevels) |
virtual FileMap | EncodeTPLTexture (Bitmap src, int mipLevels) |
Bitmap | DecodeTexture (TEX0v1 *texture) |
virtual Bitmap | DecodeTexture (TEX0v1 *texture, int mipLevel) |
virtual Bitmap | DecodeTexture (VoidPtr addr, int w, int h, int mipLevel) |
virtual Bitmap | DecodeTextureIndexed (TEX0v1 *texture, PLT0v1 *palette, int mipLevel) |
virtual Bitmap | DecodeTextureIndexed (TEX0v1 *texture, ColorPalette palette, int mipLevel) |
virtual Bitmap | DecodeTextureIndexed (VoidPtr addr, int w, int h, ColorPalette palette, int mipLevel, WiiPixelFormat fmt) |
Static Public Member Functions | |
static Bitmap | Decode (VoidPtr addr, int w, int h, int mipLevel, WiiPixelFormat fmt) |
static TextureConverter | Get (WiiPixelFormat format) |
static Bitmap | Decode (TEX0v1 *texture, int mipLevel) |
static Bitmap | DecodeIndexed (TEX0v1 *texture, PLT0v1 *palette, int mipLevel) |
static Bitmap | DecodeIndexed (TEX0v1 *texture, ColorPalette palette, int mipLevel) |
static Bitmap | DecodeIndexed (VoidPtr addr, int w, int h, ColorPalette palette, int mipLevel, WiiPixelFormat fmt) |
static FileMap | EncodePLT0Palette (ColorPalette pal, WiiPaletteFormat format) |
static FileMap | EncodeTPLPalette (ColorPalette pal, WiiPaletteFormat format) |
static FileMap | EncodePalette (ColorPalette pal, WiiPaletteFormat format) |
static void | EncodePalette (VoidPtr destAddr, ColorPalette pal, WiiPaletteFormat format) |
static ColorPalette | DecodePalette (PLT0v1 *palette) |
static ColorPalette | DecodePalette (VoidPtr address, int count, WiiPaletteFormat format) |
Static Public Attributes | |
static readonly TextureConverter | I4 = new I4() |
static readonly TextureConverter | IA4 = new IA4() |
static readonly TextureConverter | I8 = new I8() |
static readonly TextureConverter | IA8 = new IA8() |
static readonly TextureConverter | RGB565 = new RGB565() |
static readonly TextureConverter | RGB5A3 = new RGB5A3() |
static readonly TextureConverter | CI4 = new CI4() |
static readonly TextureConverter | CI8 = new CI8() |
static readonly CMPR | CMPR = new CMPR() |
static readonly TextureConverter | RGBA8 = new RGBA8() |
Protected Member Functions | |
abstract void | EncodeBlock (ARGBPixel *sPtr, VoidPtr blockAddr, int width) |
abstract void | DecodeBlock (VoidPtr blockAddr, ARGBPixel *destAddr, int width) |
Protected Attributes | |
ColorPalette | _workingPalette |
Properties | |
abstract WiiPixelFormat | RawFormat [get] |
abstract int | BitsPerPixel [get] |
abstract int | BlockWidth [get] |
abstract int | BlockHeight [get] |
bool | IsIndexed [get] |
|
inlinestatic |
|
inlinestatic |
|
protectedpure virtual |
Implemented in BrawlLib.Wii.Textures.CMPR, and BrawlLib.Wii.Textures.IA4.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
protectedpure virtual |
Implemented in BrawlLib.Wii.Textures.CMPR, and BrawlLib.Wii.Textures.IA4.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinestatic |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
get |
|
get |
|
get |
|
get |
|
get |