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

◆ Bmp2VRAM()

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

Copies Bmp data to VRAM.

Parameters
bmpDataSource address of Data 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 VRAM area to zeros if desired.