Creates a 128 x 128 pixel, 32-bit bitmap containing a pattern table with a specified palette, suitable to present in UI. More...
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. |
Creates a 128 x 128 pixel, 32-bit bitmap containing a pattern table with a specified palette, suitable to present in UI.
Romulus.Nes.PatternTableRenderer.PatternTableRenderer | ( | ) |
Creates a new PatternTableRenderer.
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.
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.