Skip to content

ludus::graphics::rhi::ComputePipelineDescription

Ludus Wiki · API overview · Browse API

Struct

Immutable compute stage and exact group-zero layout; dependencies must be ready.

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/compute.h

#include <ludus/graphics/rhi/compute.h>
struct ludus::graphics::rhi::ComputePipelineDescription final

Fields

Shader

RasterShaderHandle ludus::graphics::rhi::ComputePipelineDescription::Shader {}
Reflected Compute shader, including verified local workgroup dimensions.

Related types: RasterShaderHandle

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/compute.h

Layout

BindingLayoutHandle ludus::graphics::rhi::ComputePipelineDescription::Layout {}
Immutable Compute-only buffer layout, unfiltered single 2D color/depth views, and optionally one ready native RayScene. Native scenes require enabled ray queries and stay retained through dispatch completion.

Related types: BindingLayoutHandle

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/compute.h

ShouldPrepareAsynchronously

bool ludus::graphics::rhi::ComputePipelineDescription::ShouldPrepareAsynchronously = false
Queue native driver creation; also enabled by an asynchronous shader input.

Declared in modules/graphics/rhi/include/ludus/graphics/rhi/compute.h