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 3486 of file webgpu.h.

Field Documentation

◆ offset

uint64_t WGPUTexelCopyBufferLayout::offset

The INIT macro sets this to 0.

Definition at line 3490 of file webgpu.h.

◆ bytesPerRow

uint32_t WGPUTexelCopyBufferLayout::bytesPerRow

The INIT macro sets this to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3494 of file webgpu.h.

◆ rowsPerImage

uint32_t WGPUTexelCopyBufferLayout::rowsPerImage

The INIT macro sets this to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3498 of file webgpu.h.