Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::HdrFormatDecision Struct Reference

The format decision one frame committed to. More...

#include <HdrFormat.hpp>

Public Attributes

GfxPixelFormat requested = GfxPixelFormat::RGBA8
GfxPixelFormat effective = GfxPixelFormat::RGBA8
HdrRefusal refusal = HdrRefusal::None
bool linear = false
 Whether the project asked for a linear pipeline at all this frame.

Detailed Description

The format decision one frame committed to.

requested == effective covers both a granted ask and no ask at all; linear is what tells them apart. A gamma project is not a fallback, and calling it one warns every project that never wanted HDR.

Definition at line 67 of file HdrFormat.hpp.

Member Data Documentation

◆ effective

GfxPixelFormat esengine::HdrFormatDecision::effective = GfxPixelFormat::RGBA8

Definition at line 69 of file HdrFormat.hpp.

◆ linear

bool esengine::HdrFormatDecision::linear = false

Whether the project asked for a linear pipeline at all this frame.

Definition at line 72 of file HdrFormat.hpp.

◆ refusal

HdrRefusal esengine::HdrFormatDecision::refusal = HdrRefusal::None

Definition at line 70 of file HdrFormat.hpp.

◆ requested

GfxPixelFormat esengine::HdrFormatDecision::requested = GfxPixelFormat::RGBA8

Definition at line 68 of file HdrFormat.hpp.


The documentation for this struct was generated from the following file:
  • /home/runner/work/estella/estella/src/esengine/renderer/store/HdrFormat.hpp