Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The drawIndexed()
method of the GPURenderBundleEncoder
interface draws indexed primitives based on the vertex and index buffers provided by setVertexBuffer()
and setIndexBuffer()
.
Note: This method is functionally identical to its equivalent on GPURenderPassEncoder
— drawIndexed()
.