C# Class Alexandria.Engines.Sciagi.Resources.PictureInstruction.SetPalette

Assign a palette entry.
Inheritance: PictureInstruction
Afficher le fichier Open project: Burton-Radons/Alexandria

Méthodes publiques

Méthode Description
Render ( PictureRenderer renderer ) : void

Render the instruction by setting the dither palette.

SetPalette ( PictureExtendedOpcode opcode ) : System

Initialise the instruction.

SetPalette ( PictureExtendedOpcode opcode, IEnumerable entries ) : System

Initialise the instruction.

SetPalette ( Stream stream, PictureExtendedOpcode opcode ) : System

Read the instruction.

Private Methods

Méthode Description
ReadEntries ( Stream stream, PictureExtendedOpcode opcode ) : List

Method Details

Render() public méthode

Render the instruction by setting the dither palette.
public Render ( PictureRenderer renderer ) : void
renderer PictureRenderer
Résultat void

SetPalette() public méthode

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode ) : System
opcode PictureExtendedOpcode
Résultat System

SetPalette() public méthode

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode, IEnumerable entries ) : System
opcode PictureExtendedOpcode
entries IEnumerable
Résultat System

SetPalette() public méthode

Read the instruction.
public SetPalette ( Stream stream, PictureExtendedOpcode opcode ) : System
stream Stream
opcode PictureExtendedOpcode
Résultat System