wgpun_DeviceCreateShaderModule function

  1. @Native<Uint64 Function(Uint64, Pointer<Uint8>, Uint32, Pointer<Char>)>(ffi.Uint64, ffi.Pointer<ffi.Uint8>, ffi.Uint32, ffi.Pointer<ffi.Char>)>()
int wgpun_DeviceCreateShaderModule(
  1. int device,
  2. Pointer<Uint8> source,
  3. int source_len,
  4. Pointer<Char> label,
)

Implementation

@ffi.Native<
  ffi.Uint64 Function(
    ffi.Uint64,
    ffi.Pointer<ffi.Uint8>,
    ffi.Uint32,
    ffi.Pointer<ffi.Char>,
  )
>()
external int wgpun_DeviceCreateShaderModule(
  int device,
  ffi.Pointer<ffi.Uint8> source,
  int source_len,
  ffi.Pointer<ffi.Char> label,
);