C# Class FSO.Files.Formats.IFF.Chunks.SPR

This chunk type holds a number of paletted sprites that share a common color palette and lack z-buffers and alpha buffers. SPR# chunks can be either big-endian or little-endian, which must be determined by comparing the first two bytes to zero (since no version number uses more than two bytes).
Inheritance: IffChunk
显示文件 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
ByteOrd ByteOrder
PaletteID ushort

Public Methods

Method Description
Read ( IffFile iff, Stream stream ) : void

Reads a SPR chunk from a stream.

Method Details

Read() public method

Reads a SPR chunk from a stream.
public Read ( IffFile iff, Stream stream ) : void
iff IffFile An Iff instance.
stream Stream A Stream object holding a SPR chunk.
return void

Property Details

ByteOrd public_oe property

public ByteOrder ByteOrd
return ByteOrder

PaletteID public_oe property

public ushort PaletteID
return ushort