C# Class HaloMap.RawData.ParsedBitmap.BitmapInfo

The bitmap info.
Show file 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 property

The bits per pixel.
public ushort bitsPerPixel
return ushort

depth public property

The depth.
public ushort depth
return ushort

flags public property

The flags.
public ushort flags
return ushort

format public property

The format.
public ushort format
return ushort

formatname public property

The formatname.
public BitmapFormat formatname
return BitmapFormat

height public property

The height.
public ushort height
return ushort

mipMapCount public property

The mip map count.
public ushort mipMapCount
return ushort

pixelOffset public property

The pixel offset.
public ushort pixelOffset
return ushort

regPointX public property

The reg point x.
public ushort regPointX
return ushort

regPointY public property

The reg point y.
public ushort regPointY
return ushort

swizzle public property

The swizzle.
public bool swizzle
return bool

tagtype public property

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

type public property

The type.
public ushort type
return ushort

typename public property

The typename.
public BitmapType typename
return BitmapType

width public property

The width.
public ushort width
return ushort