Struct VertexBufferLayout

Describes how the vertex buffer is interpreted.

struct VertexBufferLayout ;

Fields

NameTypeDescription
arrayStride ulongStride, in bytes, between elements of this buffer.
attributes __C.WGPUVertexAttribute[]List of attributes which comprise a single vertex.
stepMode VertexStepModeHow often this vertex buffer is “stepped” forward.

See Also

wgpu::VertexBufferLayout