Skip to content

ludus::graphics::renderer::RayPathEvent

Ludus Wiki · API overview · Browse API

Struct

One decoded Trace() call, or raster first hit, of a captured invocation. Values are exactly what the kernel submitted and committed; driver BVH traversal is not observable.

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

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

Fields

PixelX

foundation::uint32 ludus::graphics::renderer::RayPathEvent::PixelX = 0
Launch pixel column.

Related types: foundation::uint32

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

PixelY

foundation::uint32 ludus::graphics::renderer::RayPathEvent::PixelY = 0
Launch pixel row.

Related types: foundation::uint32

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

Sample

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Sample = 0
Progressive sample index within the capture's history epoch.

Related types: foundation::uint32

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

Pass

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Pass = 0
Index into the plan's Passes of the ray pass that traced it.

Related types: foundation::uint32

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

Sequence

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Sequence = 0
Zero-based order within the invocation of that pixel, sample and pass.

Related types: foundation::uint32

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

Kind

RayPathEventKind ludus::graphics::renderer::RayPathEvent::Kind = RayPathEventKind::Closest
Query kind.

Related types: RayPathEventKind

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

Outcome

RayPathOutcome ludus::graphics::renderer::RayPathEvent::Outcome = RayPathOutcome::Miss
Query result.

Related types: RayPathOutcome

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

OriginWorld

foundation::math::Vector3 ludus::graphics::renderer::RayPathEvent::OriginWorld {}
Submitted origin, world meters.

Related types: foundation::math::Vector3

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

DirectionWorld

foundation::math::Vector3 ludus::graphics::renderer::RayPathEvent::DirectionWorld {}
Submitted direction as passed to the query.

Related types: foundation::math::Vector3

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

MinDistanceWorld

foundation::float32 ludus::graphics::renderer::RayPathEvent::MinDistanceWorld = 0
Submitted interval start, world meters.

Related types: foundation::float32

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

MaxDistanceWorld

foundation::float32 ludus::graphics::renderer::RayPathEvent::MaxDistanceWorld = 0
Submitted interval end, world meters.

Related types: foundation::float32

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

HitDistanceWorld

foundation::float32 ludus::graphics::renderer::RayPathEvent::HitDistanceWorld = 0
Committed hit distance; MaxDistanceWorld for a miss.

Related types: foundation::float32

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

Triangle

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Triangle = RAY_PATH_INVALID_INDEX
Packed scene triangle of a hit.

Related types: foundation::uint32

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

Instance

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Instance = RAY_PATH_INVALID_INDEX
Extraction instance index of a hit.

Related types: foundation::uint32

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

Primitive

foundation::uint32 ludus::graphics::renderer::RayPathEvent::Primitive = RAY_PATH_INVALID_INDEX
Mesh-local primitive of a hit.

Related types: foundation::uint32

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

SourceId

foundation::uint64 ludus::graphics::renderer::RayPathEvent::SourceId = 0
RenderGraphItem::SourceId of a hit, otherwise zero.

Related types: foundation::uint64

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

RejectedCandidates

foundation::uint32 ludus::graphics::renderer::RayPathEvent::RejectedCandidates = 0
Candidates refused by the alpha test before the commit.

Related types: foundation::uint32

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