C# Class AoMBrgEditor.DdtFile

Datei anzeigen Open project: Ryder25/Age-of-Mythology Class Usage Examples

Public Properties

Property Type Description
Height int
Width int
alphaBits byte
imageData byte[]
mipMap byte
texelFormat DdtTexelFormat
type DdtType

Public Methods

Method Description
DdtFile ( System fileStream ) : System
Get32BitUncompressed ( ) : byte[]
GetTexelFormat ( ) : string

Private Methods

Method 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 method

public DdtFile ( System fileStream ) : System
fileStream System
return System

Get32BitUncompressed() public method

public Get32BitUncompressed ( ) : byte[]
return byte[]

GetTexelFormat() public method

public GetTexelFormat ( ) : string
return string

Property Details

Height public_oe property

public int Height
return int

Width public_oe property

public int Width
return int

alphaBits public_oe property

public byte alphaBits
return byte

imageData public_oe property

public byte[] imageData
return byte[]

mipMap public_oe property

public byte mipMap
return byte

texelFormat public_oe property

public DdtTexelFormat texelFormat
return DdtTexelFormat

type public_oe property

public DdtType type
return DdtType