Skip to content

ludus::graphics::renderer::RenderGraphItem

Ludus Wiki · API overview · Browse API

Struct

One intended draw item/submesh/material slot extracted by the World adapter.

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

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

Fields

SourceId

foundation::uint64 ludus::graphics::renderer::RenderGraphItem::SourceId = 0
Nonzero unique diagnostic identity.

Related types: foundation::uint64

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

MeshIndex

foundation::uint32 ludus::graphics::renderer::RenderGraphItem::MeshIndex = 0
Index into the borrowed mesh table.

Related types: foundation::uint32

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

MeshToWorld

foundation::math::Affine3 ludus::graphics::renderer::RenderGraphItem::MeshToWorld {}
Static geometry transform; deformation remains unsupported.

Related types: foundation::math::Affine3

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

Material

FlatMaterial ludus::graphics::renderer::RenderGraphItem::Material {}
Runtime color values; never shader permutation inputs.

Related types: FlatMaterial

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

Coverage

RenderGraphMaterial ludus::graphics::renderer::RenderGraphItem::Coverage = RenderGraphMaterial::Opaque
Required coverage/deformation contract.

Related types: RenderGraphMaterial

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

IsIntentionallyExcluded

bool ludus::graphics::renderer::RenderGraphItem::IsIntentionallyExcluded = false
Authored exclusion, distinct from renderer visibility culling.

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

Uniforms

foundation::BorrowedView<const foundation::float32> ludus::graphics::renderer::RenderGraphItem::Uniforms {}
Per-draw logical uniform values, laid out by the plan's uniform schemas (the generated header names each field's offset). Exactly UniformValueCount finite values are required for every item that is not intentionally excluded when the plan binds uniforms, and must be empty otherwise. Copied and packed for the device's target before Update returns; runtime data, never a shader permutation input.

Related types: foundation::BorrowedView · foundation::float32

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

MaterialOverrides

foundation::BorrowedView<const foundation::uint32> ludus::graphics::renderer::RenderGraphItem::MaterialOverrides
Per-instance slot overrides; INHERIT_SCENE_MATERIAL retains the mesh binding.

Related types: foundation::BorrowedView · foundation::uint32

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

SurfaceTint

foundation::math::Vector4 ludus::graphics::renderer::RenderGraphItem::SurfaceTint {1, 1, 1, 1}
Instance multiplier for the scene material profile.

Related types: foundation::math::Vector4

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