mgpuDispatchAsync function

  1. @Native<Void Function(Pointer<MGPUComputeShader>, Int, Int, Int, MGPUCallback)>(ffi.Pointer<MGPUComputeShader>, ffi.Int, ffi.Int, ffi.Int, MGPUCallback)>()
void mgpuDispatchAsync(
  1. Pointer<MGPUComputeShader> shader,
  2. int groupsX,
  3. int groupsY,
  4. int groupsZ,
  5. MGPUCallback callback,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<MGPUComputeShader>,
    ffi.Int,
    ffi.Int,
    ffi.Int,
    MGPUCallback,
  )
>()
external void mgpuDispatchAsync(
  ffi.Pointer<MGPUComputeShader> shader,
  int groupsX,
  int groupsY,
  int groupsZ,
  MGPUCallback callback,
);