Skip to content

ludus::graphics::renderer::RenderGraphRayFailures

Ludus Wiki · API overview · Browse API

Struct

Pixels of one ray pass that latched each failure reason since its camera or scene last changed.

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

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

Fields

Pixels

foundation::StaticArray<foundation::uint32, MAX_RENDER_GRAPH_FAILURE_REASONS> ludus::graphics::renderer::RenderGraphRayFailures::Pixels {}
Pixels by reason; index with a RenderGraphFailureReason value or an authored reason.

Related types: foundation::StaticArray · foundation::uint32 · MAX_RENDER_GRAPH_FAILURE_REASONS

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

TotalPixels

foundation::uint64 ludus::graphics::renderer::RenderGraphRayFailures::TotalPixels = 0
Sum of Pixels.

Related types: foundation::uint64

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

MainReason

foundation::uint32 ludus::graphics::renderer::RenderGraphRayFailures::MainReason = 0
The reason with the most pixels; meaningful when TotalPixels is nonzero.

Related types: foundation::uint32

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