Skip to content

LiteFX::Rendering::ICommandBuffer::dispatch

Executes a compute shader.

Synopses

Declared in <litefx/rendering_api.hpp>

Executes a compute shader.

[[dllimport, dllexport]] virtual void dispatch(Vector3u const& threadGroupCount) const noexcept = 0;

» more...

Executes a compute shader.

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

» more...

Parameters

NameDescription
threadGroupCountThe number of thread groups per dimension.
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.

See Also

dispatchIndirect