WebGPU Headers: WGPUTexelCopyBufferLayout Struct Reference

Loading...

Searching...

No Matches

Data Fields

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

Field Documentation

◆ offset

uint64_t WGPUTexelCopyBufferLayout::offset

The INIT macro sets this to 0.

Definition at line 3394 of file webgpu.h.

◆ bytesPerRow

uint32_t WGPUTexelCopyBufferLayout::bytesPerRow

The INIT macro sets this to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3398 of file webgpu.h.

◆ rowsPerImage

uint32_t WGPUTexelCopyBufferLayout::rowsPerImage

The INIT macro sets this to WGPU_COPY_STRIDE_UNDEFINED.

Definition at line 3402 of file webgpu.h.