bindAndDraw

fun RenderPass.bindAndDraw(vertexSlice: GpuBufferSlice, indexSlice: GpuBufferSlice, vertexFormat: VertexFormat, indexType: VertexFormat.IndexType, indexCount: Int)

Set vertex and index buffers for RenderPass and call RenderPass.drawIndexed.

This function assumes the GpuBufferSlices are correctly aligned with corresponding vertex/index byte count.