Engine → Renderer → render_settings.h
render_defaults¶
| Type | Class |
| Namespace | conjure::renderer |
| Include File Path | engine/include/conjure/renderer/render_settings.h |
| Source File Path | engine/src/renderer/render_settings.cpp |
| API ↗ | Rendering, Rendering a frame |
Syntax¶
Variables¶
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| private | mRevision | u64 | 0 | |
| private | mValue | render_settings | {} |
Functions¶
Public¶
get¶
get¶[[nodiscard]] const render_settings &get() const noexcept;The current defaults; engine defaults until the first set().
revision¶
revision¶[[nodiscard]] u64 revision() const noexcept;Bumps on every set(), also when the value does not change; 0 before the first.
set¶
set¶void set(
const render_settings &value) noexcept;Sanitises a copy of the value (callers pass validated settings; this is the backstop) and stores it. Main thread only.