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

◆ SetPlanes() [1/2]

static void SRL::VDP2::RBG0::SetPlanes ( const uint8_t layout[4][4])
inlinestatic

Sets the plane of Tilemap Data to be displayed with 16 planes.

Parameters
layout4x4 array of uint8_t indecies representing the index of each plane in the map layout
Note
Unlike NBG scrolls RBG0 only loads with the default tiling of 1 plane. Use this function after loading to set the arrangement of multi plane tilemaps within a 4x4 grid.
No check is performed to ensure the indecies entered are within the bounds of the scroll's map data. Specifying indices larger than the number of planes loaded will result in the diplay of garbage data in those portions of the map