Function RenderPass.setVertexBuffers
Sets the active vertex buffers, starting from startSlot.
void setVertexBuffers
(
uint startSlot,
std .typecons .Tuple!(wgpu.api.Buffer,uint)[] bufferPairs
);
Each element of bufferPairs describes a vertex buffer and an offset in bytes into that buffer.
The offset must be aligned to a multiple of 4 bytes.
See Also
You can use bufferPair to create pairs.