C# Class HaloMap.DDSFunctions.DecodeDXT.ImageLib

The image lib.
显示文件 Open project: troymac1ure/Entity

Public Methods

Method Description
GradientColors ( RGBA_COLOR_STRUCT Col1, RGBA_COLOR_STRUCT Col2 ) : RGBA_COLOR_STRUCT

The gradient colors.

GradientColorsHalf ( RGBA_COLOR_STRUCT Col1, RGBA_COLOR_STRUCT Col2 ) : RGBA_COLOR_STRUCT

The gradient colors half.

rgba_to_int ( RGBA_COLOR_STRUCT c ) : int

The rgba_to_int.

short_to_rgba ( int color ) : RGBA_COLOR_STRUCT

The short_to_rgba.

Method Details

GradientColors() public method

The gradient colors.
public GradientColors ( RGBA_COLOR_STRUCT Col1, RGBA_COLOR_STRUCT Col2 ) : RGBA_COLOR_STRUCT
Col1 RGBA_COLOR_STRUCT The col 1.
Col2 RGBA_COLOR_STRUCT The col 2.
return RGBA_COLOR_STRUCT

GradientColorsHalf() public method

The gradient colors half.
public GradientColorsHalf ( RGBA_COLOR_STRUCT Col1, RGBA_COLOR_STRUCT Col2 ) : RGBA_COLOR_STRUCT
Col1 RGBA_COLOR_STRUCT The col 1.
Col2 RGBA_COLOR_STRUCT The col 2.
return RGBA_COLOR_STRUCT

rgba_to_int() public method

The rgba_to_int.
public rgba_to_int ( RGBA_COLOR_STRUCT c ) : int
c RGBA_COLOR_STRUCT The c.
return int

short_to_rgba() public method

The short_to_rgba.
public short_to_rgba ( int color ) : RGBA_COLOR_STRUCT
color int The color.
return RGBA_COLOR_STRUCT