wgpun_CommandEncoderCopyTextureToTexture function

  1. @Native<Uint8 Function(Uint64, Uint64, Uint64, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32)>(ffi.Uint64, ffi.Uint64, ffi.Uint64, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32)>()
int wgpun_CommandEncoderCopyTextureToTexture(
  1. int encoder,
  2. int src_texture,
  3. int dst_texture,
  4. int width,
  5. int height,
  6. int depth,
  7. int src_mip_level,
  8. int src_origin_x,
  9. int src_origin_y,
  10. int src_origin_z,
  11. int dst_mip_level,
  12. int dst_origin_x,
  13. int dst_origin_y,
  14. int dst_origin_z,
)

Implementation

@ffi.Native<
  ffi.Uint8 Function(
    ffi.Uint64,
    ffi.Uint64,
    ffi.Uint64,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
    ffi.Uint32,
  )
>()
external int wgpun_CommandEncoderCopyTextureToTexture(
  int encoder,
  int src_texture,
  int dst_texture,
  int width,
  int height,
  int depth,
  int src_mip_level,
  int src_origin_x,
  int src_origin_y,
  int src_origin_z,
  int dst_mip_level,
  int dst_origin_x,
  int dst_origin_y,
  int dst_origin_z,
);