Skip to content

ludus::graphics::renderer::VisibilityRasterPass

Ludus Wiki · API overview · Browse API

Struct

Borrowed ready visibility raster producer; consumed synchronously during graph preparation. Producer/view/attachment must match the ray job's scene/camera generation. Only opaque visibility-ABI views without uniforms, materials, overlays or grid are admitted.

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

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

Fields

ProducerOrNull

Renderer* ludus::graphics::renderer::VisibilityRasterPass::ProducerOrNull = nullptr
Valid producer; borrowed through graph preparation.

Related types: Renderer

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

View

PreparedView ludus::graphics::renderer::VisibilityRasterPass::View {}
Ready immutable view; its resources are copied into the ordered graph.

Related types: PreparedView

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

Attachment

rhi::RasterPassDescription ludus::graphics::renderer::VisibilityRasterPass::Attachment {}
Paired color/depth attachment, Clear/Store in both aspects.

Related types: rhi::RasterPassDescription

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