Interface RenderEncoder

Methods shared by RenderPass and wgpu.api.RenderBundleEncoder.

interface RenderEncoder ;

Methods

NameDescription
draw (vertices, instances)
drawIndexed (indices, baseVertex, instances)
drawIndexedIndirect (indirectBuffer, indirectOffset)
drawIndirect (indirectBuffer, indirectOffset)
setBindGroup (index, bindGroup, offsets)
setIndexBuffer (bufferSlice, indexFormat)
setPipeline (pipeline)
setPushConstants (stages, offset, data)
setVertexBuffer (slot, bufferSlice)