C# Class ctpktool.Etc

Afficher le fichier Open project: SciresM/FEAT Class Usage Examples

Méthodes publiques

Méthode Description
Clamp ( int value, int min, int max ) : int
GetEtc1Length ( Size size, bool hasAlpha, int levels = 1 ) : int
GetEtc1RasterData ( byte imageData, Size size, int y, bool hasAlpha, Bitmap bmp, int outputOffset ) : void
GetEtc1RasterData ( byte imageData, Size size, int y, bool hasAlpha, byte output, int outputOffset ) : void

Private Methods

Méthode Description
Etc ( ) : System
GetEtc1BlockStart ( Size size, int x, int y, bool hasAlpha ) : int

Method Details

Clamp() public static méthode

public static Clamp ( int value, int min, int max ) : int
value int
min int
max int
Résultat int

GetEtc1Length() public static méthode

public static GetEtc1Length ( Size size, bool hasAlpha, int levels = 1 ) : int
size System.Drawing.Size
hasAlpha bool
levels int
Résultat int

GetEtc1RasterData() public static méthode

public static GetEtc1RasterData ( byte imageData, Size size, int y, bool hasAlpha, Bitmap bmp, int outputOffset ) : void
imageData byte
size System.Drawing.Size
y int
hasAlpha bool
bmp System.Drawing.Bitmap
outputOffset int
Résultat void

GetEtc1RasterData() public static méthode

public static GetEtc1RasterData ( byte imageData, Size size, int y, bool hasAlpha, byte output, int outputOffset ) : void
imageData byte
size System.Drawing.Size
y int
hasAlpha bool
output byte
outputOffset int
Résultat void