MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ dispatch_compute

std::function<void(const std::shared_ptr<void>&, uint32_t, uint32_t, uint32_t)> MayaFlux::Registry::Service::ComputeService::dispatch_compute

Dispatch a compute shader execution.

Parameters
pipelineCompute pipeline to execute
group_count_xNumber of workgroups in X dimension
group_count_yNumber of workgroups in Y dimension
group_count_zNumber of workgroups in Z dimension

Executes compute shader with specified workgroup counts. Total invocations = (group_count_x * local_size_x) * (group_count_y * local_size_y) * (group_count_z * local_size_z)

Must be called within a command recording context (execute_immediate or record_deferred from IBufferService).

Definition at line 89 of file ComputeService.hpp.