SaturnRingLibrary 0.9.1
SGL wrapper
 
Loading...
Searching...
No Matches

◆ Bmp2VRAM()

static void SRL::VDP2::BmpScreen< RBG0, Id, On >::Bmp2VRAM ( void * bmpData,
void * bmpAdr,
SRL::Bitmap::BitmapInfo info )
inlinestaticinherited

Copies Bmp data to VRAM.

Parameters
BmpDataData to copy.
BmpAdrVRAM address to copy to.
infoinfo about bmp
Note
When the source image does not completely fill the container the transfer will pad each line of the image to allign to the container width. However the padded VRAM is not cleared when using this function, so may display garbage data. Use VDP2::VRAM::Blank() beforehand to clear all data to zero if desired.