[][src]Function thorium::dmg_render::dmg_hblank_render

pub fn dmg_hblank_render<H: FnMut(&mut DMGConfig, &mut DMGTileMemory, &mut [&mut DMGScreenblock], &mut [DMGOAMEntry])>(
    bitmap: &mut Bitmap,
    config: &mut DMGConfig,
    tile_memory: &mut DMGTileMemory,
    screenblocks: &mut [&mut DMGScreenblock],
    oam: &mut [DMGOAMEntry],
    out_palette: &[u32; 4],
    hblank: H
)

Performs a DMG style rendering with hblank support.

Renders a single scanline, then calls the hblank function which is allowed to do basically anything it wants.