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

◆ Init() [2/3]

void SRL::VDP2::RBG0::Init ( SRL::Tilemap::TilemapInfo & info)
inlinestatic

Initializes the ScrollScreen's tilemap specifications.

Initailization is performed automatically when using the built in LoadTilemap functions. This function is only required when performing custom loading routines. Ensure that VRAM for Cell and Map data has already been allocated before calling.

Parameters
infoTile map info
Note
This function initializes both rotation parameters using the same source tilemap. To use a secondary tilemap in RB, use the respective overloads