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
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
ByteOrd ByteOrder
PaletteID ushort

Méthodes publiques

Méthode Description
Read ( IffFile iff, Stream stream ) : void

Reads a SPR chunk from a stream.

Method Details

Read() public méthode

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.
Résultat void

Property Details

ByteOrd public_oe property

public ByteOrder ByteOrd
Résultat ByteOrder

PaletteID public_oe property

public ushort PaletteID
Résultat ushort