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;Executes a compute shader.
Parameters¶
| Name | Description |
|---|---|
| threadGroupCount | The number of thread groups per dimension. |
| x | The number of thread groups along the x dimension. |
| y | The number of thread groups along the y dimension. |
| z | The number of thread groups along the z dimension. |