C# Class AoMBrgEditor.DdtFile

Afficher le fichier Open project: Ryder25/Age-of-Mythology Class Usage Examples

Méthodes publiques

Свойство Type Description
Height int
Width int
alphaBits byte
imageData byte[]
mipMap byte
texelFormat DdtTexelFormat
type DdtType

Méthodes publiques

Méthode Description
DdtFile ( System fileStream ) : System
Get32BitUncompressed ( ) : byte[]
GetTexelFormat ( ) : string

Private Methods

Méthode Description
Convert444ToRGB ( byte data, int startData, System.Pixel palette ) : void
Convert555ToRGB ( byte data, int startData, System.Pixel palette ) : void
Convert565ToRGB ( byte data, int startData, System.Pixel palette ) : void
ConvertToRGB ( byte data, int startData, System.Pixel palette, int rOff, int rCnt, int gOff, int gCnt, int bOff, int bCnt, int stride ) : void

Method Details

DdtFile() public méthode

public DdtFile ( System fileStream ) : System
fileStream System
Résultat System

Get32BitUncompressed() public méthode

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

GetTexelFormat() public méthode

public GetTexelFormat ( ) : string
Résultat string

Property Details

Height public_oe property

public int Height
Résultat int

Width public_oe property

public int Width
Résultat int

alphaBits public_oe property

public byte alphaBits
Résultat byte

imageData public_oe property

public byte[] imageData
Résultat byte[]

mipMap public_oe property

public byte mipMap
Résultat byte

texelFormat public_oe property

public DdtTexelFormat texelFormat
Résultat DdtTexelFormat

type public_oe property

public DdtType type
Résultat DdtType