Skip to content

Engine → Renderer → render_settings.h

render_defaults

Syntax

class CONJURE_API render_defaults

Variables

AccessNameTypeDefaultDescription
privatemRevisionu640
privatemValuerender_settings{}

Functions

Public

get

[[nodiscard]] const render_settings &get() const noexcept;

The current defaults; engine defaults until the first set().

revision

[[nodiscard]] u64 revision() const noexcept;

Bumps on every set(), also when the value does not change; 0 before the first.

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.