Skip to content

LiteFX::Rendering::ICommandBuffer::dispatch

Executes a compute shader.

Synopsis

Declared in <litefx/rendering_api.hpp>

[[dllimport, dllexport]] void dispatch(
    UInt32 x,
    UInt32 y,
    UInt32 z) const noexcept;

Parameters

NameDescription
xThe number of thread groups along the x dimension.
yThe number of thread groups along the y dimension.
zThe number of thread groups along the z dimension.