WGPUVertex Buffer Layout
If attributes is empty and stepMode is WGPUVertexStepMode.Undefined, indicates a "hole" in the parent WGPUVertexState.buffers array, with behavior equivalent to null in the JS API.
If attributes is empty but stepMode is not WGPUVertexStepMode.Undefined, indicates a vertex buffer with no attributes, with behavior equivalent to { attributes: [] } in the JS API. (TODO: If the JS API changes not to distinguish these cases, then this distinction doesn't matter and we can remove this documentation.)
If stepMode is WGPUVertexStepMode.Undefined but attributes is not empty, stepMode defaults to WGPUVertexStepMode.Vertex.
Properties
Link copied to clipboard
TODO
Link copied to clipboard
Array count for attributes.
Link copied to clipboard
TODO
Link copied to clipboard
Link copied to clipboard
TODO