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

◆ SwitchMode

enum class SRL::VDP2::SwitchMode
strong

Options for switching between the 2 Rotation parameters available for RBG0 display.

Enumerator
OnlyPrimary 

Only display Primary Tilemap and rotation params.

OnlySecondary 

Only display Secondary Tilemap and rotation params.

PerspectiveSwitch 

Switch RBG0 Tilemap display based on perspective of Tilemap A.

In regions of the screen beyond the Primary Parameter's simulated 'horizon'*, the Secondary Parameter will be displayed instead.

Note
-*(More technically, any screen coordinate where the scaling coefficient read for the primary parameter has its high bit set to 1 will display Parameter B data instead).
- Only Parameter A can display 3 Axis (Per Dot) Rotation in this mode.
WindowSwitch 

Switch RBG0 rotation display based on a VDP2 window.

Rotation A displays in regions inside the selected VDP2 window While Rotation B displays outside the window

Note
- This is the only avaiable mode where Primary and Secondary Parameters can Simultaneously display 3 Axis (Per Dot) Rotation.