wgpun_QueueWriteTexture function
- @Native<Void Function(Uint64, Uint64, Pointer<Uint8>, Uint64, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32, Uint32)>(ffi.Uint64, ffi.Uint64, ffi.Pointer<ffi.Uint8>, ffi.Uint64, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32, ffi.Uint32)>()
void
wgpun_QueueWriteTexture(
- int queue,
- int texture,
- Pointer<Uint8> data,
- int data_size,
- int bytes_per_row,
- int width,
- int height,
- int depth_or_array_layers,
- int mip_level,
- int origin_x,
- int origin_y,
- int origin_z,
- int aspect,
- int rows_per_image,
)
Implementation
@ffi.Native<
ffi.Void Function(
ffi.Uint64,
ffi.Uint64,
ffi.Pointer<ffi.Uint8>,
ffi.Uint64,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
ffi.Uint32,
)
>()
external void wgpun_QueueWriteTexture(
int queue,
int texture,
ffi.Pointer<ffi.Uint8> data,
int data_size,
int bytes_per_row,
int width,
int height,
int depth_or_array_layers,
int mip_level,
int origin_x,
int origin_y,
int origin_z,
int aspect,
int rows_per_image,
);