WebGPU Headers: WGPUVertexAttribute Struct Reference

Data Fields

WGPUChainedStructnextInChain
 
WGPUVertexFormat format
 
uint64_t offset
 
uint32_t shaderLocation
 

Default values can be set using WGPU_VERTEX_ATTRIBUTE_INIT as initializer.

Definition at line 3535 of file webgpu.h.

◆ nextInChain

◆ format

◆ offset

uint64_t WGPUVertexAttribute::offset

The INIT macro sets this to 0.

Definition at line 3544 of file webgpu.h.

◆ shaderLocation

uint32_t WGPUVertexAttribute::shaderLocation

The INIT macro sets this to 0.

Definition at line 3548 of file webgpu.h.