C# Класс LibSquishPort.squish

Показать файл Открыть проект

Открытые методы

Метод Описание
CompressImage ( byte rgba, int width, int height, byte blocks, SquishFlags flags, bool waitOnDone ) : void
GetStorageRequirements ( int width, int height, SquishFlags flags ) : int

Приватные методы

Метод Описание
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

Описание методов

CompressImage() публичный статический Метод

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
Результат void

GetStorageRequirements() публичный статический Метод

public static GetStorageRequirements ( int width, int height, SquishFlags flags ) : int
width int
height int
flags SquishFlags
Результат int