C# 클래스 LibSquishPort.squish

파일 보기 프로젝트 열기: rbray89/ActiveTextureManagement

공개 메소드들

메소드 설명
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