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

Assign a palette entry.
Inheritance: PictureInstruction
Exibir arquivo Open project: Burton-Radons/Alexandria

Public Methods

Method 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

Method Description
ReadEntries ( Stream stream, PictureExtendedOpcode opcode ) : List

Method Details

Render() public method

Render the instruction by setting the dither palette.
public Render ( PictureRenderer renderer ) : void
renderer PictureRenderer
return void

SetPalette() public method

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode ) : System
opcode PictureExtendedOpcode
return System

SetPalette() public method

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode, IEnumerable entries ) : System
opcode PictureExtendedOpcode
entries IEnumerable
return System

SetPalette() public method

Read the instruction.
public SetPalette ( Stream stream, PictureExtendedOpcode opcode ) : System
stream Stream
opcode PictureExtendedOpcode
return System