C# Class ImageUtility.PF_Empty

Mostra file Open project: Patapom/GodComplex Class Usage Examples

Public Methods

Method Description
MipAverage ( int _C0, int _C1, int _C2, int _C3 ) : int
ToByte ( float _Component ) : byte

Converts a float component to a byte component

ToFloat ( uint _Component ) : float

Converts a byte component to a float component

ToUShort ( float _Component ) : ushort

Converts a float component to a byte component

Write ( float _A ) : void
Write ( float _R, float _G, float _B, float _A ) : void
Write ( float4 _Color ) : void
Write ( uint _A ) : void
Write ( uint _R, uint _G, uint _B, uint _A ) : void

Method Details

MipAverage() public method

public MipAverage ( int _C0, int _C1, int _C2, int _C3 ) : int
_C0 int
_C1 int
_C2 int
_C3 int
return int

ToByte() public static method

Converts a float component to a byte component
public static ToByte ( float _Component ) : byte
_Component float
return byte

ToFloat() public static method

Converts a byte component to a float component
public static ToFloat ( uint _Component ) : float
_Component uint
return float

ToUShort() public static method

Converts a float component to a byte component
public static ToUShort ( float _Component ) : ushort
_Component float
return ushort

Write() public method

public Write ( float _A ) : void
_A float
return void

Write() public method

public Write ( float _R, float _G, float _B, float _A ) : void
_R float
_G float
_B float
_A float
return void

Write() public method

public Write ( float4 _Color ) : void
_Color float4
return void

Write() public method

public Write ( uint _A ) : void
_A uint
return void

Write() public method

public Write ( uint _R, uint _G, uint _B, uint _A ) : void
_R uint
_G uint
_B uint
_A uint
return void