data strUcture of a VDP2 color offset to be set in Offset A or Offset B
The offset data that will be set is a signed 9 bit value per color channel. The valid range of inputs is -255 to +255. The sign determines whether the color offset is additive or subtractive. Values outside the range will be clamped to it when the offset is set. See SetColorOffsetA and SetColorOffsetB for more details.
#include <srl_vdp2.hpp>
Public Member Functions | |
ColorOffset () | |
Initialize with all channel offsets set to 0 (No Offset) | |
ColorOffset (int16_t red, int16_t green, int16_t blue) | |
initialize red green and blue channel offsets | |
Public Attributes | |
int16_t | Blue |
Blue channel offset/. | |
int16_t | Green |
Green channel offset/. | |
int16_t | Red |
Red channel offset/. | |