Skip to content

ludus::graphics::renderer::RenderGraphSceneDescription

Ludus Wiki · API overview · Browse API

Struct

Borrowed complete rendering inputs. Preparation consumes them before returning; scene/material GPU resources belong to Renderer and retain exact incarnations.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

#include <ludus/graphics/renderer/render_graph.hpp>
struct ludus::graphics::renderer::RenderGraphSceneDescription final

Fields

Meshes

foundation::BorrowedView<const RenderGraphMesh> ludus::graphics::renderer::RenderGraphSceneDescription::Meshes
Geometry and slot bindings.

Related types: foundation::BorrowedView · RenderGraphMesh

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

Items

foundation::BorrowedView<const RenderGraphItem> ludus::graphics::renderer::RenderGraphSceneDescription::Items
Instances and overrides.

Related types: foundation::BorrowedView · RenderGraphItem

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

Inputs

SceneShaderInputs ludus::graphics::renderer::RenderGraphSceneDescription::Inputs {}
Materials, analytic sources and constant environment.

Related types: SceneShaderInputs

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

HasMaterialInterface

bool ludus::graphics::renderer::RenderGraphSceneDescription::HasMaterialInterface = false
False preserves legacy flat-color submissions.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

AreErrorsAllowed

bool ludus::graphics::renderer::RenderGraphSceneDescription::AreErrorsAllowed = false
Preview uses an explicit non-emissive error material.

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

DiagnosticsOrNull

SceneShaderDiagnostics* ludus::graphics::renderer::RenderGraphSceneDescription::DiagnosticsOrNull = nullptr
Optional candidate diagnostic output, including rejection.

Related types: SceneShaderDiagnostics

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

SourceGeneration

foundation::uint64 ludus::graphics::renderer::RenderGraphSceneDescription::SourceGeneration = 0
Caller scene revision; also seeds graph sampling when a new extraction starts history. Zero is reserved for standalone diagnostic preparation. Different revisions select different streams.

Related types: foundation::uint64

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp

SceneData

foundation::uint32 ludus::graphics::renderer::RenderGraphSceneDescription::SceneData = ::ludus::content::render_graph_format::SCENE_DATA_ALL
Selected ::ludus::content::render_graph_format::SCENE_DATA_* groups; Lights retain emitter emission dependencies. Consumed before Update returns.

Related types: foundation::uint32

Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph.hpp