wgpun_RenderPassEncoderSetViewport function

  1. @Native<Void Function(Uint64, Float, Float, Float, Float, Float, Float)>(ffi.Uint64, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float, ffi.Float)>()
void wgpun_RenderPassEncoderSetViewport(
  1. int render_pass,
  2. double x,
  3. double y,
  4. double width,
  5. double height,
  6. double min_depth,
  7. double max_depth,
)

Implementation

@ffi.Native<
  ffi.Void Function(
    ffi.Uint64,
    ffi.Float,
    ffi.Float,
    ffi.Float,
    ffi.Float,
    ffi.Float,
    ffi.Float,
  )
>()
external void wgpun_RenderPassEncoderSetViewport(
  int render_pass,
  double x,
  double y,
  double width,
  double height,
  double min_depth,
  double max_depth,
);