wgpun_RenderPassEncoderSetIndexBuffer function

  1. @Native<Void Function(Uint64, Uint64, Uint32, Uint64, Uint64)>(ffi.Uint64, ffi.Uint64, ffi.Uint32, ffi.Uint64, ffi.Uint64)>()
void wgpun_RenderPassEncoderSetIndexBuffer(
  1. int render_pass,
  2. int buffer,
  3. int format,
  4. int offset,
  5. int size,
)

Implementation

@ffi.Native<
  ffi.Void Function(ffi.Uint64, ffi.Uint64, ffi.Uint32, ffi.Uint64, ffi.Uint64)
>()
external void wgpun_RenderPassEncoderSetIndexBuffer(
  int render_pass,
  int buffer,
  int format,
  int offset,
  int size,
);