C# Class ThemeEditor.Common.Graphics.RawTexture

Afficher le fichier Open project: usagirei/3DS-Theme-Editor Class Usage Examples

Méthodes publiques

Свойство Type Description
Data byte[]
Height int
Width int

Méthodes publiques

Méthode Description
DecToCoord ( uint dec, uint &x, uint &y ) : void
Decode ( ) : byte[]
Encode ( byte bgrData ) : void
Encode ( byte bgrData, int width, int height, DataFormat format ) : void
RawTexture ( ) : System
RawTexture ( int width, int height, DataFormat format ) : System
RawTexture ( int width, int height, DataFormat format, byte data ) : System
Read ( Stream s ) : void
ToString ( ) : string

Private Methods

Méthode Description
CoordToDec ( uint x, uint y ) : uint
Decode_A8 ( ) : byte[]
Decode_Bgr565 ( ) : byte[]
Decode_Bgr888 ( ) : byte[]
Encode_A8 ( byte bgrData ) : void
Encode_Rgb565 ( byte bgrData ) : void
Encode_Rgb888 ( byte bgrData ) : void
GreatestCommonMultiple ( int num, int mult ) : int
NextLargestPowerOfTwo ( int x ) : int

Method Details

DecToCoord() public static méthode

public static DecToCoord ( uint dec, uint &x, uint &y ) : void
dec uint
x uint
y uint
Résultat void

Decode() public méthode

public Decode ( ) : byte[]
Résultat byte[]

Encode() public méthode

public Encode ( byte bgrData ) : void
bgrData byte
Résultat void

Encode() public méthode

public Encode ( byte bgrData, int width, int height, DataFormat format ) : void
bgrData byte
width int
height int
format DataFormat
Résultat void

RawTexture() public méthode

public RawTexture ( ) : System
Résultat System

RawTexture() public méthode

public RawTexture ( int width, int height, DataFormat format ) : System
width int
height int
format DataFormat
Résultat System

RawTexture() public méthode

public RawTexture ( int width, int height, DataFormat format, byte data ) : System
width int
height int
format DataFormat
data byte
Résultat System

Read() public méthode

public Read ( Stream s ) : void
s Stream
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

Data public_oe property

public byte[] Data
Résultat byte[]

Height public_oe property

public int Height
Résultat int

Width public_oe property

public int Width
Résultat int