C# Класс Alexandria.Engines.Sciagi.Resources.PictureInstruction.SetPalette

Assign a palette entry.
Наследование: PictureInstruction
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ReadEntries ( Stream stream, PictureExtendedOpcode opcode ) : List

Описание методов

Render() публичный Метод

Render the instruction by setting the dither palette.
public Render ( PictureRenderer renderer ) : void
renderer PictureRenderer
Результат void

SetPalette() публичный Метод

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode ) : System
opcode PictureExtendedOpcode
Результат System

SetPalette() публичный Метод

Initialise the instruction.
public SetPalette ( PictureExtendedOpcode opcode, IEnumerable entries ) : System
opcode PictureExtendedOpcode
entries IEnumerable
Результат System

SetPalette() публичный Метод

Read the instruction.
public SetPalette ( Stream stream, PictureExtendedOpcode opcode ) : System
stream Stream
opcode PictureExtendedOpcode
Результат System