mgpuSetBuffer function

  1. @Native<Void Function(Pointer<MGPUComputeShader>, Int, Pointer<MGPUBuffer>)>(ffi.Pointer<MGPUComputeShader>, ffi.Int, ffi.Pointer<MGPUBuffer>)>()
void mgpuSetBuffer(
  1. Pointer<MGPUComputeShader> shader,
  2. int tag,
  3. Pointer<MGPUBuffer> buffer
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Pointer<MGPUComputeShader>,
    ffi.Int,
    ffi.Pointer<MGPUBuffer>,
  )
>()
external void mgpuSetBuffer(
  ffi.Pointer<MGPUComputeShader> shader,
  int tag,
  ffi.Pointer<MGPUBuffer> buffer,
);