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

◆ Init() [3/3]

void SRL::VDP2::RBG0::Init ( SRL::Tilemap::TilemapInfo & infoA,
SRL::Tilemap::TilemapInfo & infoB )
inlinestatic

Overload initializes Primary and Secondary rotation parameters to separate source tilemaps.

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.

Note
Initialization for Secondary fails if it does not share the same configuration as Primary for color depth, tile size, and map data type.
Parameters
infoATilemap info of primary tilemap to initialize
infoBTilemap info of secondary tilemap to initialize