bindVertexBuffer method
Binds geometry the device already holds — a mesh, or the one triangle every full-screen pass draws.
slot is which of the pipeline's VertexLayoutDescriptor.buffers this fills.
Zero is the only slot anything used before instancing, and slots must be
filled densely — see the note on VertexLayoutDescriptor.
Implementation
@override
void bindVertexBuffer(
GeometryBuffer buffer,
int vertexCount, {
int slot = 0,
}) {
debugCheckLive(buffer, 'bindVertexBuffer');
commands.add(RecordedVertices(vertexCount, transient: false, slot: slot));
}