C# Class HaloMap.DDSFunctions.Swizzler

Swizzles an array of pixels.
Afficher le fichier Open project: troymac1ure/Entity Class Usage Examples

Méthodes publiques

Méthode Description
Swizzle ( byte raw, int width, int height, int depth, int bitCount, bool deswizzle ) : byte[]

The swizzle.

Swizzle ( byte raw, int offset, int width, int height, int depth, int bitCount, bool deswizzle ) : byte[]

The swizzle.

Private Methods

Méthode Description
Swizzle ( int x, int y, int z, MaskSet masks ) : int

The swizzle.

SwizzleAxis ( int val, int mask ) : int

The swizzle axis.

Method Details

Swizzle() public static méthode

The swizzle.
public static Swizzle ( byte raw, int width, int height, int depth, int bitCount, bool deswizzle ) : byte[]
raw byte The raw.
width int The width.
height int The height.
depth int The depth.
bitCount int The bit count.
deswizzle bool The deswizzle.
Résultat byte[]

Swizzle() public static méthode

The swizzle.
public static Swizzle ( byte raw, int offset, int width, int height, int depth, int bitCount, bool deswizzle ) : byte[]
raw byte The raw.
offset int The offset.
width int The width.
height int The height.
depth int The depth.
bitCount int The bit count.
deswizzle bool The deswizzle.
Résultat byte[]