SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches
SRL::VDP2::SpriteLayer Class Reference

Detailed Description

Interface to control VDP2 settings for the Sprite Layer (data from VDP1 framebuffer), such as Display priority and VDP2 color calculation)

#include <srl_vdp2.hpp>

Static Public Member Functions

static void ColorCalcOFF ()
 Turns VDP2 Color Calculation Off for Sprite Layer.
 
static void ColorCalcON ()
 Turns VDP2 Color Calculation on for Sprite Layer.
 
static void SetColorCondition (VDP2::ColorCondition Condition, SRL::VDP2::Priority TestValue)
 Set conditions under which VDP2 color calculation is performed on sprites based on their priority.
 
static void SetOpacity (SRL::Math::Types::Fxp opacity, VDP2::SpriteBank bank=VDP2::SpriteBank::Bank0)
 Set the opacities that sprites can select from in CC registers.
 
static void SetPriority (SRL::VDP2::Priority pr, VDP2::SpriteBank bank=VDP2::SpriteBank::Bank0)
 Set the priority Layers That sprites can select from in PR registers.