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

Data Fields

uint32_t width
 
uint32_t height
 
uint32_t depthOrArrayLayers
 

Detailed Description

Default values can be set using WGPU_EXTENT_3D_INIT as initializer.

Definition at line 2072 of file webgpu.h.

Field Documentation

◆ width

uint32_t WGPUExtent3D::width

The INIT macro sets this to 0.

Definition at line 2076 of file webgpu.h.

◆ height

uint32_t WGPUExtent3D::height

The INIT macro sets this to 1.

Definition at line 2080 of file webgpu.h.

◆ depthOrArrayLayers

uint32_t WGPUExtent3D::depthOrArrayLayers

The INIT macro sets this to 1.

Definition at line 2084 of file webgpu.h.