Unravel Engine C++ Reference
Loading...
Searching...
No Matches
unravel::bloom_component Class Reference

#include <bloom_component.h>

Inheritance diagram for unravel::bloom_component:
unravel::component_crtp< bloom_component > unravel::basic_component

Static Public Member Functions

static void merge_into (bloom_pass::settings &result, const bloom_pass::settings &from, float contribution, bool is_first)
 Merges this component's settings into result. For first contribution, copies; otherwise lerps.
 

Public Attributes

bool enabled = true
 
bloom_pass::settings settings {}
 
- Public Attributes inherited from unravel::basic_component
bool eto {}
 Disable empty type optimizations.
 

Additional Inherited Members

- Public Types inherited from unravel::component_crtp< bloom_component >
using base
 
- Public Member Functions inherited from unravel::basic_component
void touch ()
 Marks the component as 'touched'.
 
- Static Public Attributes inherited from unravel::component_crtp< bloom_component >
static constexpr bool in_place_delete
 Indicates if the component can be deleted in place.
 

Detailed Description

Definition at line 11 of file bloom_component.h.

Member Function Documentation

◆ merge_into()

static void unravel::bloom_component::merge_into ( bloom_pass::settings & result,
const bloom_pass::settings & from,
float contribution,
bool is_first )
inlinestatic

Merges this component's settings into result. For first contribution, copies; otherwise lerps.

Definition at line 18 of file bloom_component.h.

Member Data Documentation

◆ enabled

bool unravel::bloom_component::enabled = true

Definition at line 14 of file bloom_component.h.

◆ settings

bloom_pass::settings unravel::bloom_component::settings {}

Definition at line 15 of file bloom_component.h.


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