Skip to main content

Module material

Module material 

Source
Expand description

Material descriptor types shared between engine and GPU crates.

These are CPU-side descriptions — the GPU crate translates them into pipeline-specific bind group data.

Structs§

DreamLightingConfig
Full Dream Lighting configuration — all 21 parameters from the lighting spec. Created via for_quality() or manually tuned.
PbrMaterial
PBR lit material descriptor. Texture references are optional u32 handles resolved by the GPU store.

Enums§

AlphaMode
Alpha blending mode for materials.
DreamLightingQuality
Dream Lighting quality preset — controls the entire lighting pipeline. Maps to a fixed parameter matrix for all GI, shadow, reflection, and post-processing subsystems.
MaterialClass
Classification of material pipeline variants.
RtQuality
Ray tracing quality preset for SceneDreamMode::PbrRayTraced.
SceneDreamMode
Scene-wide rendering mode that controls which pipeline features are active.
TonemapOperator
HDR tonemapping operator applied during post-processing.

Type Aliases§

LitMaterialDesc
Backward compatibility alias.