Skip to content

ludus::graphics::renderer::RenderGraphMesh

Ludus Wiki · API overview · Browse API

Struct

Mesh table entry copied into both authored technique contexts during setup.

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

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

Fields

Geometry

MeshDescription ludus::graphics::renderer::RenderGraphMesh::Geometry {}
Borrowed static geometry; consumed before Update returns.

Related types: MeshDescription

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

Layout

RenderGraphLayout ludus::graphics::renderer::RenderGraphMesh::Layout = RenderGraphLayout::Static
Declared interface, validated independently of intention.

Related types: RenderGraphLayout

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

BoundsMesh

foundation::math::Aabb3 ludus::graphics::renderer::RenderGraphMesh::BoundsMesh {}
Explicit finite bounds for an unknown-position diagnostic proxy.

Related types: foundation::math::Aabb3

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

HasDiagnosticBounds

bool ludus::graphics::renderer::RenderGraphMesh::HasDiagnosticBounds = false
Whether BoundsMesh is authoritative and may be rendered as a proxy.

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

MaterialSlots

foundation::BorrowedView<const foundation::uint32> ludus::graphics::renderer::RenderGraphMesh::MaterialSlots
Triangle-to-material-slot map; empty means slot zero. Must have IndexCount/3 entries.

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

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

MaterialBindings

foundation::BorrowedView<const foundation::uint32> ludus::graphics::renderer::RenderGraphMesh::MaterialBindings
Slot-to-global-material mapping; unassigned slots use DEFAULT_SCENE_MATERIAL.

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

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