Data Fields | |
WGPUChainedStruct const * | nextInChain |
WGPUVertexStepMode | stepMode |
uint64_t | arrayStride |
size_t | attributeCount |
WGPUVertexAttribute const * | attributes |
Default values can be set using WGPU_VERTEX_BUFFER_LAYOUT_INIT as initializer.
WGPUChainedStruct const* WGPUVertexBufferLayout::nextInChain |
WGPUVertexStepMode WGPUVertexBufferLayout::stepMode |
The step mode for the vertex buffer. If WGPUVertexStepMode_VertexBufferNotUsed, indicates a "hole" in the parent WGPUVertexState buffers
array: the pipeline does not use a vertex buffer at this location
.
Defaults to WGPUVertexStepMode_VertexBufferNotUsed.
uint64_t WGPUVertexBufferLayout::arrayStride |
size_t WGPUVertexBufferLayout::attributeCount |
WGPUVertexAttribute const* WGPUVertexBufferLayout::attributes |