wgpun_CommandEncoderCopyBufferToTexture function
- @Native<Uint8 Function(Uint64, Uint64, Uint64, 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)>()
int
wgpun_CommandEncoderCopyBufferToTexture(
- int encoder,
- int buffer,
- int texture,
- int bytes_per_row,
- int rows_per_image,
- int width,
- int height,
- int depth,
- int mip_level,
- int origin_x,
- int origin_y,
- int 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,
)
>()
external int wgpun_CommandEncoderCopyBufferToTexture(
int encoder,
int buffer,
int texture,
int bytes_per_row,
int rows_per_image,
int width,
int height,
int depth,
int mip_level,
int origin_x,
int origin_y,
int origin_z,
);