AudioAsset
Ease
FastString
FontAsset
NineSlice
PackedSprite
PackedSpriteID
RB
   HardwareSettings
   IRetroBlitGame
RBAsset
Rect2i
ShaderAsset
SoundReference
SpriteGrid
SpriteSheetAsset
TMXMapAsset
   TMXLayer
   TMXLayerLoadState
   TMXObject
   TMXObjectGroup
   TMXProperties
Vector2i

RB.Effect.Saturation

Enumeration Value

Description

A color saturation effect. This effect has controllable intensity from -1.0f (fully de-saturated/grayscale), 0.0f (normal), to 1.0f (fully saturated).

Example

void Initialize()
{
    // Enable aturation effect with intensity of -0.9, almost grayscale
    // with just a hint of color.
    RB.EffectSet(RB.Effect.Saturation, -0.9f);
}

See Docs

Features - Postprocessing Shaders