Struct Definition

Struct Documentation

struct Definition

Public parameter definition; backend uniform names are separate mappings.

Engine semantics must have the matching type, no default, and a unique semantic role.

Public Members

std::string key

Nonempty unique public key, unrelated to backend uniform spelling.

Type type = Type::Float

Required Value alternative; values are not coerced.

bool required = true

Complete packets must contain this key when true.

Semantic semantic = Semantic::Custom

Engine source, or Custom for default/pass/material/draw layers.

std::optional<Value> default_value

Optional typed fallback for a custom key; may retain image resources.