Euphoria
Public Member Functions | Public Attributes | List of all members
eu::render::EffectStack Struct Reference

The facade of the post-proc framework. More...

Public Member Functions

void render (const PostProcArg &arg)
 rebuilds stack if dirty, update all targets, then render the last_source
 
void update (float dt) const
 
void gui (imgui::ImguiShaderCache *cache)
 

Public Attributes

int current_msaa_setting = -1
 
bool dirty = true
 
std::optional< Sizewindow_size
 
std::vector< std::shared_ptr< Effect > > effects
 
CompiledStack compiled
 
bool use_hdr = true
 
float exposure = 1.0f
 
std::shared_ptr< RenderWorldrender_world
 

Detailed Description

The facade of the post-proc framework.

Definition at line 152 of file postproc.h.

Member Function Documentation

◆ gui()

void eu::render::EffectStack::gui ( imgui::ImguiShaderCache cache)

◆ render()

void eu::render::EffectStack::render ( const PostProcArg arg)

rebuilds stack if dirty, update all targets, then render the last_source

◆ update()

void eu::render::EffectStack::update ( float  dt) const

Member Data Documentation

◆ compiled

CompiledStack eu::render::EffectStack::compiled

Definition at line 158 of file postproc.h.

◆ current_msaa_setting

int eu::render::EffectStack::current_msaa_setting = -1

Definition at line 154 of file postproc.h.

◆ dirty

bool eu::render::EffectStack::dirty = true

Definition at line 155 of file postproc.h.

◆ effects

std::vector<std::shared_ptr<Effect> > eu::render::EffectStack::effects

Definition at line 157 of file postproc.h.

◆ exposure

float eu::render::EffectStack::exposure = 1.0f

Definition at line 164 of file postproc.h.

◆ render_world

std::shared_ptr<RenderWorld> eu::render::EffectStack::render_world

Definition at line 166 of file postproc.h.

◆ use_hdr

bool eu::render::EffectStack::use_hdr = true

Definition at line 163 of file postproc.h.

◆ window_size

std::optional<Size> eu::render::EffectStack::window_size

Definition at line 156 of file postproc.h.


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