Calls setVertexAndIndexBuffers and then calls either draw or drawIndexed
draw
drawIndexed
This is an extremely simple function. See setVertexAndIndexBuffers. If you need something more complex, call pass encoder functions yourself as appropriate.
a render pass encoder
As returned from createBuffersAndAttributesFromArrays
Generated using TypeDoc
Calls setVertexAndIndexBuffers and then calls either
draw
ordrawIndexed
This is an extremely simple function. See setVertexAndIndexBuffers. If you need something more complex, call pass encoder functions yourself as appropriate.