ludus::graphics::renderer::RenderGraphActivation¶
Ludus Wiki · API overview · Browse API
Class
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
#include <ludus/graphics/renderer/render_graph_activation.hpp>
class ludus::graphics::renderer::RenderGraphActivation final
Methods¶
RenderGraphActivation¶
ludus::graphics::renderer::RenderGraphActivation::RenderGraphActivation() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
~RenderGraphActivation¶
ludus::graphics::renderer::RenderGraphActivation::~RenderGraphActivation() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
RenderGraphActivation¶
ludus::graphics::renderer::RenderGraphActivation::RenderGraphActivation(const RenderGraphActivation &)=delete
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
operator=¶
RenderGraphActivation & ludus::graphics::renderer::RenderGraphActivation::operator=(const RenderGraphActivation &)=delete
Related types: RenderGraphActivation
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Initialize¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::Initialize(rhi::DeviceHandle device, foundation::BorrowedView< const foundation::uint8 > interfaceIdentity, const rhi::RasterShaderDescription &compositeVertex, const rhi::RasterShaderDescription &compositeFragment, RenderGraphAllocation allocation=RenderGraphAllocation::ExactPool) noexcept
| Parameter | Description |
|---|---|
device |
Owned device; must outlive this object and every staged generation.
|
interfaceIdentity |
IDENTITY_BYTES digest from the host's generated header; copied.
|
compositeVertex |
Installed renderer_composite vertex recipe; its artifact storage outlives this object.
|
compositeFragment |
Installed renderer_composite fragment recipe; same lifetime as compositeVertex.
|
allocation |
ExactPool (default) shares one attachment pool across generations; SerialControl is the non-pooled diagnostic control.
|
Returns
Related types: foundation::BorrowedView · foundation::uint8 · RenderGraphAllocation · rhi::RasterStatus · rhi::DeviceHandle · rhi::RasterShaderDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Stage¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::Stage(foundation::core::UniquePtr< RenderGraphPackage > package, const LightTransformerModelDescription *modelOrNull=nullptr) noexcept
| Parameter | Description |
|---|---|
package |
Owned cooked candidate; ownership is consumed by this call, including on failure.
|
modelOrNull |
Optional trained model setup, required by Light Transformer packages; assets are consumed/copied during this call, encoder artifact storage survives Poll.
|
Related types: foundation::core::UniquePtr · RenderGraphPackage · rhi::RasterStatus · LightTransformerModelDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
StageSelected¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::StageSelected(foundation::core::UniquePtr< RenderGraphPackage > rasterPackage, foundation::core::UniquePtr< RenderGraphPackage > rayPackageOrNull, RenderGraphPreference preference=RenderGraphPreference::Automatic) noexcept
| Parameter | Description |
|---|---|
rasterPackage |
Loaded raster-only graph; mandatory on every device.
|
rayPackageOrNull |
Optional loaded graph containing software or native triangle ray passes.
|
preference |
Automatic stages a software-only ray package through ordinary compute. Native packages require enabled native traversal and compute. ForceRaster always stages rasterPackage.
|
Returns
Related types: foundation::core::UniquePtr · RenderGraphPackage · RenderGraphPreference · rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Resize¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::Resize(foundation::uint32 referenceWidth, foundation::uint32 referenceHeight) noexcept
Related types: foundation::uint32 · rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Poll¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::Poll() noexcept
Related types: rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Update¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphActivation::Update(foundation::BorrowedView< const RenderGraphMesh > meshes, foundation::BorrowedView< const RenderGraphItem > items, foundation::BorrowedView< const ViewDescription > cameras, foundation::uint64 sceneRevision, RenderGraphCoveragePolicy policy, RenderGraphReport &outReport, const SceneShaderInputs *sceneInputsOrNull=nullptr, foundation::uint64 contentRevision=0) noexcept
| Parameter | Description |
|---|---|
meshes |
Borrowed static geometry table, copied during a full extraction.
|
items |
Borrowed instances, transforms, material bindings and per-draw values.
|
cameras |
Complete generation-local camera table; consumed before return.
|
sceneRevision |
Nonzero identity for the requested drawable scene/view publication.
|
policy |
Whether unsupported coverage rejects or receives diagnostic color.
|
outReport |
Latest candidate diagnostics, independent of the retained drawable output. Preflight rejection preserves it; coverage/preparation results replace it.
|
sceneInputsOrNull |
Optional borrowed material/light/environment inputs for a full extraction.
|
contentRevision |
Optional nonzero identity for all non-camera inputs. Reusing it promises unchanged geometry, transforms, materials, lights, uniforms and coverage policy; only cameras and sceneRevision may change. This reuses scene/acceleration buffers and resets camera history. Zero always prepares a complete extraction. Resize and new generations also prepare in full.
|
Related types: foundation::BorrowedView · foundation::uint64 · RenderGraphCoveragePolicy · rhi::RasterStatus · RenderGraphItem · RenderGraphMesh · RenderGraphReport · SceneShaderInputs · ViewDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
GetActiveOrNull¶
RenderGraph * ludus::graphics::renderer::RenderGraphActivation::GetActiveOrNull() noexcept
Related types: RenderGraph
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
GetReport¶
RenderGraphActivationReport ludus::graphics::renderer::RenderGraphActivation::GetReport() const noexcept
Related types: RenderGraphActivationReport
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
GetPoolReport¶
RenderGraphPoolReport ludus::graphics::renderer::RenderGraphActivation::GetPoolReport() const noexcept
Related types: RenderGraphPoolReport
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
TrimPool¶
void ludus::graphics::renderer::RenderGraphActivation::TrimPool() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp
Reset¶
void ludus::graphics::renderer::RenderGraphActivation::Reset() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_activation.hpp