Table of Contents

Class Colour

Namespace
SuperNintendoEntertainmentSystem.Graphics
Assembly
SystemPlugins.dll

SNES Colour conversion utilities

public static class Colour
Inheritance
Colour
Inherited Members

Methods

FromSNES(ref Pixel, ushort)

Converts a SNES color value to a Pixel.

public static void FromSNES(this ref Pixel pixel, ushort c)

Parameters

pixel Pixel

The Pixel to set the color for.

c ushort

The SNES color value.

ToSNES(Pixel)

Converts a Pixel to a SNES color value.

public static ushort ToSNES(this Pixel pixel)

Parameters

pixel Pixel

The Pixel to convert.

Returns

ushort

The SNES color value.