[][src]Module thorium::dmg_render

Module for rendering a Game Boy style image.

Structs

DMGConfig

Holds a complete configuration for generating a DMG image (memory is elsewhere).

DMGOAMEntry

An individual entry within the DMG OAM.

DMGScreenblock

Stores data for the background and/or window layout

DMGTileMemory

Stores tile data in index format.

Functions

dmg_basic_render

Performs a basic DMG style rendering.

dmg_hblank_render

Performs a DMG style rendering with hblank support.

dmg_inflate_row

Inflates DMG (low, high) image bytes into standard index values.

dmg_inflate_tile_data

Writes inflated index values to dest using DMG image bytes in `src.

render_screen_block

Displays an entire screenblock into a Bitmap.

render_tile_memory

renders out the first 256 tiles in the tile memory into a plain grid