C# 클래스 ValveResourceFormat.ThirdParty.DDSImage

파일 보기 프로젝트 열기: SteamDatabase/ValveResourceFormat

공개 메소드들

메소드 설명
UncompressDXT1 ( BinaryReader r, int w, int h ) : Bitmap
UncompressDXT5 ( BinaryReader r, int w, int h, bool yCoCg ) : Bitmap

비공개 메소드들

메소드 설명
ClampColor ( int a ) : byte
DecompressBlockDXT1 ( int x, int y, int width, byte blockStorage, byte &pixels, int stride ) : void
DecompressBlockDXT5 ( int x, int y, int width, byte blockStorage, byte &pixels, int stride, bool yCoCg ) : void

메소드 상세

UncompressDXT1() 공개 정적인 메소드

public static UncompressDXT1 ( BinaryReader r, int w, int h ) : Bitmap
r System.IO.BinaryReader
w int
h int
리턴 System.Drawing.Bitmap

UncompressDXT5() 공개 정적인 메소드

public static UncompressDXT5 ( BinaryReader r, int w, int h, bool yCoCg ) : Bitmap
r System.IO.BinaryReader
w int
h int
yCoCg bool
리턴 System.Drawing.Bitmap