$darkmode
Suckless OGL 1.0.0
A lean, high-performance C11 PBR Renderer
BandingParams Struct Reference

Controls for color banding/quantization. More...

#include <postprocess.h>

Data Fields

int32_t mode
 
float levels
 
float dither_strength
 
float perceptual_gamma
 
vec3 channel_levels
 

Detailed Description

Controls for color banding/quantization.

Field Documentation

◆ channel_levels

vec3 BandingParams::channel_levels

Independent RGB levels.

◆ dither_strength

float BandingParams::dither_strength

Intensity of the dither pattern.

◆ levels

float BandingParams::levels

Global quantization levels.

◆ mode

int32_t BandingParams::mode

Banding algorithm to use.

◆ perceptual_gamma

float BandingParams::perceptual_gamma

Gamma curve for perceptual mode.


The documentation for this struct was generated from the following file: