ludus::graphics::renderer::RenderGraphCapture¶
Ludus Wiki · API overview · Browse API
Class
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
#include <ludus/graphics/renderer/render_graph_capture.hpp>
class ludus::graphics::renderer::RenderGraphCapture final
Methods¶
RenderGraphCapture¶
ludus::graphics::renderer::RenderGraphCapture::RenderGraphCapture() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
~RenderGraphCapture¶
ludus::graphics::renderer::RenderGraphCapture::~RenderGraphCapture() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
RenderGraphCapture¶
ludus::graphics::renderer::RenderGraphCapture::RenderGraphCapture(const RenderGraphCapture &)=delete
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
operator=¶
RenderGraphCapture & ludus::graphics::renderer::RenderGraphCapture::operator=(const RenderGraphCapture &)=delete
Related types: RenderGraphCapture
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Start¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphCapture::Start(rhi::DeviceHandle device, rhi::SurfaceHandle surface, const RenderGraphPlan &plan, const RenderGraphPrograms &programs, foundation::uint32 referenceWidth, foundation::uint32 referenceHeight, const RenderGraphCaptureSettings &settings) noexcept
| Parameter | Description |
|---|---|
device |
Ready owned device without an open frame.
|
surface |
Surface whose frames the capture submits.
|
plan |
Numeric plan; copied by the graph.
|
programs |
Cooked stages; their storage stays alive until the phase leaves Initializing.
|
referenceWidth |
Drawable view width for view-relative resources.
|
referenceHeight |
Drawable view height for view-relative resources.
|
settings |
Output, target and identities; copied.
|
Returns
Related types: foundation::uint32 · rhi::RasterStatus · RenderGraphCaptureSettings · RenderGraphPlan · RenderGraphPrograms · rhi::DeviceHandle · rhi::SurfaceHandle
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
SubmitScene¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphCapture::SubmitScene(foundation::BorrowedView< const RenderGraphMesh > meshes, foundation::BorrowedView< const RenderGraphItem > items, foundation::BorrowedView< const ViewDescription > cameras, foundation::uint64 sceneRevision, const SceneShaderInputs *sceneInputsOrNull=nullptr) noexcept
| Parameter | Description |
|---|---|
meshes |
Static geometry table.
|
items |
Instances, transforms and material bindings.
|
cameras |
Complete camera table of the plan.
|
sceneRevision |
Nonzero identity; equal inputs and revision reproduce the capture bit for bit.
|
sceneInputsOrNull |
Optional material, light and environment inputs.
|
Returns
Related types: foundation::BorrowedView · foundation::uint64 · rhi::RasterStatus · RenderGraphItem · RenderGraphMesh · SceneShaderInputs · ViewDescription
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Service¶
RenderGraphCapturePhase ludus::graphics::renderer::RenderGraphCapture::Service() noexcept
Related types: RenderGraphCapturePhase
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Stop¶
void ludus::graphics::renderer::RenderGraphCapture::Stop() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Release¶
void ludus::graphics::renderer::RenderGraphCapture::Release() noexcept
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
GetPhase¶
RenderGraphCapturePhase ludus::graphics::renderer::RenderGraphCapture::GetPhase() const noexcept
Related types: RenderGraphCapturePhase
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
GetProblem¶
RenderGraphCaptureProblem ludus::graphics::renderer::RenderGraphCapture::GetProblem() const noexcept
Related types: RenderGraphCaptureProblem
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
GetStatus¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphCapture::GetStatus() const noexcept
Related types: rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
GetInfo¶
RenderGraphCaptureInfo ludus::graphics::renderer::RenderGraphCapture::GetInfo() const noexcept
Related types: RenderGraphCaptureInfo
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
PollRayFailures¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphCapture::PollRayFailures(foundation::uint32 pass, RenderGraphRayFailures &outFailures) noexcept
| Parameter | Description |
|---|---|
pass |
Plan ray-pass index.
|
outFailures |
Receives counts on Ready; preserved otherwise.
|
Returns
Related types: foundation::uint32 · rhi::RasterStatus · RenderGraphRayFailures
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
GetPixels¶
foundation::BorrowedView< const RenderGraphCapturePixel > ludus::graphics::renderer::RenderGraphCapture::GetPixels() const noexcept
Related types: foundation::BorrowedView · RenderGraphCapturePixel
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp
Encode¶
rhi::RasterStatus ludus::graphics::renderer::RenderGraphCapture::Encode(foundation::Array< foundation::uint8 > &outBytes) const noexcept
.lurgcap file (RenderGraphFormat capture.h). | Parameter | Description |
|---|---|
outBytes |
Receives the file; unchanged on failure.
|
Returns
Related types: foundation::Array · foundation::uint8 · rhi::RasterStatus
Declared in modules/graphics/renderer/include/ludus/graphics/renderer/render_graph_capture.hpp