[This is preliminary documentation and is subject to change.]
DXT compressed texture decoder
| C# | Visual Basic | Visual C++ |
public static byte[] DecodeDXT( byte[] data, int mipmapcount, Size imgsize, PixelFormat dxt_version )
Public Shared Function DecodeDXT ( _ data As Byte(), _ mipmapcount As Integer, _ imgsize As Size, _ dxt_version As PixelFormat _ ) As Byte()
public: static array<unsigned char>^ DecodeDXT( array<unsigned char>^ data, int mipmapcount, Size imgsize, PixelFormat dxt_version )
- data (array< Byte >[]()[])
- DXT1, 3 or 5 encoded texture data
- mipmapcount (Int32)
- Number of mipmaps
- imgsize (Size)
- Texture dimensions
- dxt_version (PixelFormat)
- Pixelformat
BGRA32 encoded texture data