C# Class LibSquishPort.squish

Mostrar archivo Open project: rbray89/ActiveTextureManagement

Public Methods

Method Description
CompressImage ( byte rgba, int width, int height, byte blocks, SquishFlags flags, bool waitOnDone ) : void
GetStorageRequirements ( int width, int height, SquishFlags flags ) : int

Private Methods

Method Description
Compress ( byte rgba, byte block, SquishFlags flags ) : void
CompressImageBlockLine ( int width, int height, SquishFlags flags, int y, byte prgba, byte targetBlockPtr, int bytesPerBlock ) : void
CompressImageBlockLineThread ( Object obj ) : void
CompressMasked ( byte rgba, int mask, byte pBlock, SquishFlags flags ) : void
FixFlags ( SquishFlags flags ) : SquishFlags
GetFreeThreadIdx ( ManualResetEvent doneEvents ) : int

Method Details

CompressImage() public static method

public static CompressImage ( byte rgba, int width, int height, byte blocks, SquishFlags flags, bool waitOnDone ) : void
rgba byte
width int
height int
blocks byte
flags SquishFlags
waitOnDone bool
return void

GetStorageRequirements() public static method

public static GetStorageRequirements ( int width, int height, SquishFlags flags ) : int
width int
height int
flags SquishFlags
return int