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

Main pipeline state for post-processing. More...

#include <postprocess_internal.h>

Collaboration diagram for PostProcess:
[legend]

Data Fields

PPGPUResources gpu
 
BloomFX bloom_fx
 
DoFFX dof_fx
 
AutoExposureFX auto_exposure_fx
 
MotionBlurFX motion_blur_fx
 
LUT3DFX lut3d_fx
 
LUTVizFX lut_viz_fx
 
PPShaderState shaders
 
int width
 
int height
 
unsigned int active_effects
 
VignetteParams vignette
 
GrainParams grain
 
ExposureParams exposure
 
ChromAbberationParams chrom_abbr
 
WhiteBalanceParams white_balance
 
ColorGradingParams color_grading
 
TonemapParams tonemapper
 
BloomParams bloom
 
DoFParams dof
 
AutoExposureParams auto_exposure
 
MotionBlurParams motion_blur
 
FXAAParams fxaa
 
BandingParams banding
 
FogParams fog
 
LUT3DParams lut3d
 
float time
 
float delta_time
 
bool ubo_dirty
 
GPUProfiler * gpu_profiler
 
int banding_preset_idx
 
PPExposureReadback readback
 

Detailed Description

Main pipeline state for post-processing.

Field Documentation

◆ active_effects

unsigned int PostProcess::active_effects

Bitfield of enabled effects.

◆ auto_exposure

AutoExposureParams PostProcess::auto_exposure

◆ auto_exposure_fx

AutoExposureFX PostProcess::auto_exposure_fx

Adaptation subsystem.

◆ banding

BandingParams PostProcess::banding

◆ banding_preset_idx

int PostProcess::banding_preset_idx

Internal index for preset cycling.

◆ bloom

BloomParams PostProcess::bloom

◆ bloom_fx

BloomFX PostProcess::bloom_fx

Bloom subsystem.

◆ chrom_abbr

ChromAbberationParams PostProcess::chrom_abbr

◆ color_grading

ColorGradingParams PostProcess::color_grading

◆ delta_time

float PostProcess::delta_time

Last frame delta.

◆ dof

DoFParams PostProcess::dof

◆ dof_fx

DoFFX PostProcess::dof_fx

Depth-of-field subsystem.

◆ exposure

ExposureParams PostProcess::exposure

◆ fog

FogParams PostProcess::fog

◆ fxaa

FXAAParams PostProcess::fxaa

◆ gpu

PPGPUResources PostProcess::gpu

FBOs, textures, UBO, quad.

◆ gpu_profiler

GPUProfiler* PostProcess::gpu_profiler

◆ grain

GrainParams PostProcess::grain

◆ height

int PostProcess::height

Target resolution height.

◆ lut3d

LUT3DParams PostProcess::lut3d

◆ lut3d_fx

LUT3DFX PostProcess::lut3d_fx

3D LUT subsystem.

◆ lut_viz_fx

LUTVizFX PostProcess::lut_viz_fx

LUT visualization.

◆ motion_blur

MotionBlurParams PostProcess::motion_blur

◆ motion_blur_fx

MotionBlurFX PostProcess::motion_blur_fx

Blur subsystem.

◆ readback

PPExposureReadback PostProcess::readback

Async GPU readback state.

◆ shaders

PPShaderState PostProcess::shaders

Uber-shader pipeline state.

◆ time

float PostProcess::time

Accumulated time for noise/animation.

◆ tonemapper

TonemapParams PostProcess::tonemapper

◆ ubo_dirty

bool PostProcess::ubo_dirty

true when UBO needs re-upload.

◆ vignette

VignetteParams PostProcess::vignette

◆ white_balance

WhiteBalanceParams PostProcess::white_balance

◆ width

int PostProcess::width

Target resolution width.


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