setVertexBuffer method
The setVertexBuffer()
method of the
GPURenderPassEncoder interface sets or unsets the current GPUBuffer
for the given slot that will provide vertex data for subsequent drawing
commands.
Implementation
external void setVertexBuffer(
GPUIndex32 slot,
GPUBuffer? buffer, [
GPUSize64 offset,
GPUSize64 size,
]);