clearBindings method

  1. @override
void clearBindings()
override

Forgets every binding, leaving rasteriser state alone.

Needed because bindings outlive a draw: the mesh loop leaves an index buffer and a pipeline bound, and the next thing in the pass may have a different vertex layout or no indices at all.

Implementation

@override
void clearBindings() => commands.add(const RecordedClearBindings());