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

◆ SetPriority()

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

Set the Display Priority of a Scroll Screen.

Note
-Higher priority values display on top of lower priorities. Setting Priority::Layer0 disables display of a scroll screen without unregistering it.
-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