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

Data Fields

WGPUChainedStructnextInChain
 
WGPUVertexFormat format
 
uint64_t offset
 
uint32_t shaderLocation
 

Detailed Description

Default values can be set using WGPU_VERTEX_ATTRIBUTE_INIT as initializer.

Definition at line 3612 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct* WGPUVertexAttribute::nextInChain

Definition at line 3613 of file webgpu.h.

◆ format

WGPUVertexFormat WGPUVertexAttribute::format

The INIT macro sets this to (WGPUVertexFormat)0.

Definition at line 3617 of file webgpu.h.

◆ offset

uint64_t WGPUVertexAttribute::offset

The INIT macro sets this to 0.

Definition at line 3621 of file webgpu.h.

◆ shaderLocation

uint32_t WGPUVertexAttribute::shaderLocation

The INIT macro sets this to 0.

Definition at line 3625 of file webgpu.h.