Euphoria
Public Attributes | List of all members
eu::render::RenderSettings Struct Reference

Startup settings for the renderer. More...

Public Attributes

int number_of_directional_lights = 5
 
int number_of_point_lights = 5
 
int number_of_frustum_lights = 5
 
bool use_bloom = true
 Should bloom be used? The renderer doesn't need to restart when this value has changed.
 
int msaa = 4
 Number of msaa samples to use.
 
float gamma = 2.2f
 The gamma correction value.
 
float bloom_cutoff = 1.0f
 The bloom cutoff value.
 
float bloom_softness = 0.25f
 The bloom softness.
 
int bloom_blur_steps = 10
 how any steps of bloom blur to perform.
 
Size shadow_map_resolution = {2048, 2048}
 The resolution of the shadow map.
 
bool use_tight_fit_shadows = false
 Use a tight fit shadow map.
 

Detailed Description

Startup settings for the renderer.

Definition at line 12 of file render_settings.h.

Member Data Documentation

◆ bloom_blur_steps

int eu::render::RenderSettings::bloom_blur_steps = 10

how any steps of bloom blur to perform.

The renderer doesn't need to restart when this value has changed.

Definition at line 44 of file render_settings.h.

◆ bloom_cutoff

float eu::render::RenderSettings::bloom_cutoff = 1.0f

The bloom cutoff value.

If brightness goes over this value, it will contribute to the bloom. The renderer doesn't need to restart when this value has changed.

Definition at line 35 of file render_settings.h.

◆ bloom_softness

float eu::render::RenderSettings::bloom_softness = 0.25f

The bloom softness.

Also called knee, 0=no softness, 1=max softness. The renderer doesn't need to restart when this value has changed.

Definition at line 40 of file render_settings.h.

◆ gamma

float eu::render::RenderSettings::gamma = 2.2f

The gamma correction value.

The renderer doesn't need to restart when this value has changed.

Definition at line 30 of file render_settings.h.

◆ msaa

int eu::render::RenderSettings::msaa = 4

Number of msaa samples to use.

The renderer doesn't need to restart when this value has changed. The effect stack needs to be rebuilt, but that should happen automatically.

Definition at line 26 of file render_settings.h.

◆ number_of_directional_lights

int eu::render::RenderSettings::number_of_directional_lights = 5

Definition at line 14 of file render_settings.h.

◆ number_of_frustum_lights

int eu::render::RenderSettings::number_of_frustum_lights = 5

Definition at line 16 of file render_settings.h.

◆ number_of_point_lights

int eu::render::RenderSettings::number_of_point_lights = 5

Definition at line 15 of file render_settings.h.

◆ shadow_map_resolution

Size eu::render::RenderSettings::shadow_map_resolution = {2048, 2048}

The resolution of the shadow map.

The renderer needs to restart when this value has changed.

Definition at line 48 of file render_settings.h.

◆ use_bloom

bool eu::render::RenderSettings::use_bloom = true

Should bloom be used? The renderer doesn't need to restart when this value has changed.

The effect stack needs to be rebuilt, but that should happen automatically.

Definition at line 21 of file render_settings.h.

◆ use_tight_fit_shadows

bool eu::render::RenderSettings::use_tight_fit_shadows = false

Use a tight fit shadow map.

The renderer doesn't need to restart when this value has changed.

Definition at line 52 of file render_settings.h.


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