WebGPU Headers
The WebGPU C API
 
Loading...
Searching...
No Matches
WGPUTexelCopyBufferLayout Struct Reference

Data Fields

uint64_t offset
 
uint32_t bytesPerRow
 
uint32_t rowsPerImage
 

Detailed Description

Default values can be set using WGPU_TEXEL_COPY_BUFFER_LAYOUT_INIT as initializer.

Definition at line 3205 of file webgpu.h.

Field Documentation

◆ offset

uint64_t WGPUTexelCopyBufferLayout::offset

Defaults to 0.

Definition at line 3209 of file webgpu.h.

◆ bytesPerRow

uint32_t WGPUTexelCopyBufferLayout::bytesPerRow

Defaults to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3213 of file webgpu.h.

◆ rowsPerImage

uint32_t WGPUTexelCopyBufferLayout::rowsPerImage

Defaults to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3217 of file webgpu.h.