sculpto
Public Member Functions | Public Attributes | List of all members
scl::camera_effects Struct Reference

#include <camera.h>

Public Member Functions

 camera_effects (bool HDR=false, float Exposure=0, bool Bloom=false, int BloomAmount=0)
 

Public Attributes

bool HDR { false }
 
float Exposure { 0 }
 
bool Bloom { false }
 
int BloomAmount { 0 }
 

Detailed Description

Camer rendering effects structure.

Definition at line 26 of file camera.h.

Constructor & Destructor Documentation

◆ camera_effects()

scl::camera_effects::camera_effects ( bool  HDR = false,
float  Exposure = 0,
bool  Bloom = false,
int  BloomAmount = 0 
)
inline

Iteration of blur while applying bloom effect.

Camera effects default constructor.

Definition at line 36 of file camera.h.

Member Data Documentation

◆ Bloom

bool scl::camera_effects::Bloom { false }

Exposure level coefficient for exposure tone mapping. Note: tone mapping applyed only if HDR is on.

Definition at line 31 of file camera.h.

◆ BloomAmount

int scl::camera_effects::BloomAmount { 0 }

Flag, showing whether apply bloom effect while rendering or not. Note: wprks only if HDR is on.

Definition at line 33 of file camera.h.

◆ Exposure

float scl::camera_effects::Exposure { 0 }

Flag, showing whether use high dynamic range colors, whle rendering.

Definition at line 29 of file camera.h.

◆ HDR

bool scl::camera_effects::HDR { false }

Definition at line 28 of file camera.h.


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