draw method
void
draw(])
The draw()
method of the
GPURenderBundleEncoder interface draws primitives based on the vertex
buffers provided by GPURenderBundleEncoder.setVertexBuffer.
Note
This method is functionally identical to its equivalent on GPURenderPassEncoder — GPURenderPassEncoder.draw.
Implementation
external void draw(
GPUSize32 vertexCount, [
GPUSize32 instanceCount,
GPUSize32 firstVertex,
GPUSize32 firstInstance,
]);