Public Member Functions | Properties

Romulus.Nes.PatternTableRenderer Class Reference

Creates a 128 x 128 pixel, 32-bit bitmap containing a pattern table with a specified palette, suitable to present in UI. More...

List of all members.

Public Member Functions

 PatternTableRenderer ()
 Creates a new PatternTableRenderer.
void Render ()
 Renders the patterns to a bitmap that can be accessed via the Result property.
void Dispose ()
 Releases resources used by this object.

Properties

Bitmap Result [get]
 Gets the final rendered image.
Bitmap Patterns [get, set]
 Gets/sets the pattern table to render.
SinglePalette Palette [get, set]
 Gets/sets the palette the patterns will be rendered with.

Detailed Description

Creates a 128 x 128 pixel, 32-bit bitmap containing a pattern table with a specified palette, suitable to present in UI.


Constructor & Destructor Documentation

Romulus.Nes.PatternTableRenderer.PatternTableRenderer (  ) 

Creates a new PatternTableRenderer.


Member Function Documentation

void Romulus.Nes.PatternTableRenderer.Dispose (  ) 

Releases resources used by this object.

void Romulus.Nes.PatternTableRenderer.Render (  ) 

Renders the patterns to a bitmap that can be accessed via the Result property.


Property Documentation

SinglePalette Romulus.Nes.PatternTableRenderer.Palette [get, set]

Gets/sets the palette the patterns will be rendered with.

Bitmap Romulus.Nes.PatternTableRenderer.Patterns [get, set]

Gets/sets the pattern table to render.

Bitmap Romulus.Nes.PatternTableRenderer.Result [get]

Gets the final rendered image.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Properties Events