mgpuDispatch function
Implementation
Future<void> mgpuDispatch(
MGPUComputeShader shader,
int groupsX,
int groupsY,
int groupsZ,
) async {
try {
await ccall(
"mgpuDispatch".toJS,
"void".toJS,
// FIX: argTypes length must match args length (4)
["number", "number", "number", "number"].toJS,
[shader, groupsX.toJS, groupsY.toJS, groupsZ.toJS].toJS,
{"async": true}.toJSDeep,
).toDart;
} finally {}
}