CathodeRetro::ShaderID

            enum class ShaderID
            {
              Util_Copy,
              Util_Downsample2X,
              Util_TonemapAndDownsample,
              Util_GaussianBlur13,

              Generator_GeneratePhaseTexture,
              Generator_RGBToSVideoOrComposite,
              Generator_ApplyArtifacts,

              Decoder_CompositeToSVideo,
              Decoder_SVideoToModulatedChroma,
              Decoder_SVideoToRGB,
              Decoder_FilterRGB,

              CRT_GenerateScreenTexture,
              CRT_GenerateSlotMask,
              CRT_GenerateShadowMask,
              CRT_GenerateApertureGrille,
              CRT_RGBToCRT,
            }
          

Each entry of this enum corresponds to one of the pixel/fragment shaders used by Cathode Retro, and this enum is passed to IGraphicsDevice::RenderQuad to determine which shader to use to render a given quad.

Index

Values

Util_Copy
The util-copy shader.
Util_Downsample2X
The util-downsample-2x shader.
Util_TonemapAndDownsample
The util-tonemap-and-downsample shader.
Util_GaussianBlur13
The util-gaussian-blur shader.
Generator_GeneratePhaseTexture
The generator-gen-phase shader.
Generator_RGBToSVideoOrComposite
The generator-rgb-to-svideo-or-composite shader.
Generator_ApplyArtifacts
The generator-apply-artifacts shader.
Decoder_CompositeToSVideo
The decoder-composite-to-svideo shader.
Decoder_SVideoToModulatedChroma
The decoder-svideo-to-modulated-chroma shader.
Decoder_SVideoToRGB
The decoder-svideo-to-rgb shader.
Decoder_FilterRGB
The decoder-filter-rgb shader.
CRT_GenerateScreenTexture
The crt-generate-screen-texture shader.
CRT_GenerateSlotMask
The crt-generate-slot-mask shader.
CRT_GenerateShadowMask
The crt-generate-shadow-mask shader.
CRT_GenerateApertureGrille
The crt-generate-aperture-grille shader.
CRT_RGBToCRT
The crt-rgb-to-crt shader.