C# Class Cri.XtxReader

Mostrar archivo Open project: xmoeproject/X-moe

Public Methods

Method Description
Unpack ( ) : byte[]
XtxReader ( Stream input, XtxMetaData info )

Private Methods

Method Description
DecompressDXT5Alpha ( byte input, int src, byte output ) : void
DecompressDXT5Block ( byte input, int src, int block_y, int block_x ) : void
GetX ( int i, int width, byte level ) : int
GetY ( int i, int width, byte level ) : int
PutPixel ( int dst, byte r, byte g, byte b, byte a ) : void
ReadTex0 ( ) : void
ReadTex1 ( ) : void
ReadTex2 ( ) : void
UnpackDXT5 ( byte input ) : void

Method Details

Unpack() public method

public Unpack ( ) : byte[]
return byte[]

XtxReader() public method

public XtxReader ( Stream input, XtxMetaData info )
input Stream
info XtxMetaData