C# Class HaloMap.RawData.ParsedBitmap.BitmapInfo

The bitmap info.
显示文件 Open project: troymac1ure/Entity Class Usage Examples

Public Properties

Property Type Description
bitsPerPixel ushort
depth ushort
flags ushort
format ushort
formatname BitmapFormat
height ushort
mipMapCount ushort
pixelOffset ushort
regPointX ushort
regPointY ushort
swizzle bool
tagtype char[]
type ushort
typename BitmapType
width ushort

Public Methods

Method Description
BitmapInfo ( BitmapFormat FormatName, bool Swizzle ) : System

Initializes a new instance of the BitmapInfo class.

BitmapInfo ( int offset, Meta &meta ) : System

Initializes a new instance of the BitmapInfo class.

Generate ( DDS ddsd ) : void

The generate.

Write ( BinaryWriter &BW ) : void

The write.

Method Details

BitmapInfo() public method

Initializes a new instance of the BitmapInfo class.
public BitmapInfo ( BitmapFormat FormatName, bool Swizzle ) : System
FormatName BitmapFormat Name of the format.
Swizzle bool if set to true [swizzle].
return System

BitmapInfo() public method

Initializes a new instance of the BitmapInfo class.
public BitmapInfo ( int offset, Meta &meta ) : System
offset int The offset.
meta HaloMap.Meta.Meta The meta.
return System

Generate() public method

The generate.
public Generate ( DDS ddsd ) : void
ddsd HaloMap.DDSFunctions.DDS The ddsd.
return void

Write() public method

The write.
public Write ( BinaryWriter &BW ) : void
BW System.IO.BinaryWriter The bw.
return void

Property Details

bitsPerPixel public_oe property

The bits per pixel.
public ushort bitsPerPixel
return ushort

depth public_oe property

The depth.
public ushort depth
return ushort

flags public_oe property

The flags.
public ushort flags
return ushort

format public_oe property

The format.
public ushort format
return ushort

formatname public_oe property

The formatname.
public BitmapFormat formatname
return BitmapFormat

height public_oe property

The height.
public ushort height
return ushort

mipMapCount public_oe property

The mip map count.
public ushort mipMapCount
return ushort

pixelOffset public_oe property

The pixel offset.
public ushort pixelOffset
return ushort

regPointX public_oe property

The reg point x.
public ushort regPointX
return ushort

regPointY public_oe property

The reg point y.
public ushort regPointY
return ushort

swizzle public_oe property

The swizzle.
public bool swizzle
return bool

tagtype public_oe property

The tagtype.
public char[] tagtype
return char[]

type public_oe property

The type.
public ushort type
return ushort

typename public_oe property

The typename.
public BitmapType typename
return BitmapType

width public_oe property

The width.
public ushort width
return ushort