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

Data Fields

WGPUChainedStruct const * nextInChain
 
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 3322 of file webgpu.h.

Field Documentation

◆ nextInChain

WGPUChainedStruct const* WGPUVertexAttribute::nextInChain

Definition at line 3323 of file webgpu.h.

◆ format

WGPUVertexFormat WGPUVertexAttribute::format

Defaults to (WGPUVertexFormat)0.

Definition at line 3327 of file webgpu.h.

◆ offset

uint64_t WGPUVertexAttribute::offset

Defaults to 0.

Definition at line 3331 of file webgpu.h.

◆ shaderLocation

uint32_t WGPUVertexAttribute::shaderLocation

Defaults to 0.

Definition at line 3335 of file webgpu.h.