16#include "Reflection.h"
36struct PaletteEnum : util::Reflection<PaletteEnum, Palette> {
38 static constexpr long minVal = 0;
40 static bool isValid(
auto value) {
return value >= minVal && value <= maxVal; }
42 static const char *prefix() {
return "PALETTE"; }
43 static const char *key(
long value)
67struct UpscalerEnum : util::Reflection<UpscalerEnum, Upscaler> {
69 static constexpr long minVal = 0;
71 static bool isValid(
auto value) {
return value >= minVal && value <= maxVal; }
73 static const char *prefix() {
return "UPSCALER"; }
74 static const char *key(
long value)
97struct DotmaskEnum : util::Reflection<DotmaskEnum, Dotmask> {
99 static constexpr long minVal = 0;
101 static bool isValid(
auto value) {
return value >= minVal && value <= maxVal; }
103 static const char *prefix() {
return "DOTMASK"; }
104 static const char *key(
long value)
127struct ScanlinesEnum : util::Reflection<ScanlinesEnum, Scanlines> {
129 static constexpr long minVal = 0;
131 static bool isValid(
auto value) {
return value >= minVal && value <= maxVal; }
133 static const char *prefix() {
return "SCANLINES"; }
134 static const char *key(
long value)
172 isize bloomBrightness;
176 isize dotMaskBrightness;
179 isize scanlineBrightness;
180 isize scanlineWeight;
VirtualC64 project namespace.
Definition CmdQueue.cpp:16
UPSCALER
Pixel upscaler.
Definition MonitorTypes.h:60
@ UPSCALER_XBR_4X
XBR upscaler (4x)
Definition MonitorTypes.h:63
@ UPSCALER_NONE
No upscaler.
Definition MonitorTypes.h:61
@ UPSCALER_EPX_2X
EPX upscaler (2x)
Definition MonitorTypes.h:62
DOTMASK
Dotmask.
Definition MonitorTypes.h:88
@ DOTMASK_NONE
No dotmask.
Definition MonitorTypes.h:89
@ DOTMASK_BISECTED_SHIFTED
Dotmask pattern 3.
Definition MonitorTypes.h:92
@ DOTMASK_TRISECTED_SHIFTED
Dotmask pattern 4.
Definition MonitorTypes.h:93
@ DOTMASK_TRISECTED
Dotmask pattern 2.
Definition MonitorTypes.h:91
@ DOTMASK_BISECTED
Dotmask pattern 1.
Definition MonitorTypes.h:90
SCANLINES
Scanlines.
Definition MonitorTypes.h:120
@ SCANLINES_EMBEDDED
Embed scanlines in the emulator texture.
Definition MonitorTypes.h:122
@ SCANLINES_SUPERIMPOSE
Emulate scanlines in the fragment shader.
Definition MonitorTypes.h:123
@ SCANLINES_NONE
No scanlines.
Definition MonitorTypes.h:121
PALETTE
Color palette.
Definition MonitorTypes.h:26
@ PALETTE_PAPER_WHITE
Paper white monochrome palette.
Definition MonitorTypes.h:29
@ PALETTE_GREEN
Green monochrome palette.
Definition MonitorTypes.h:30
@ PALETTE_AMBER
Amber monochrome palette.
Definition MonitorTypes.h:31
@ PALETTE_BLACK_WHITE
Black and white monochrome palette.
Definition MonitorTypes.h:28
@ PALETTE_COLOR
Standard C64 color palette.
Definition MonitorTypes.h:27
@ PALETTE_SEPIA
Sepia monochrome palette.
Definition MonitorTypes.h:32