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

◆ SetPriority()

template<class ScreenType , int16_t Id, uint16_t On>
static void SRL::VDP2::ScrollScreen< ScreenType, Id, On >::SetPriority ( SRL::VDP2::Priority pr)
inlinestatic

Set the Display Priority of a Scroll Screen.

Note
Higher value layers display on top of lower layers.
When 2 or more scroll screens are assigned the same layer, their priority resolves as SPRITE>RBG0>NBG0>NBG1>NBG2>NBG3.
Parameters
prThe Priority Layer for the Scroll Screen