bindIndexBuffer method
Binds indices the device already holds. IndexType.int32 needs
DeviceFeature.indexUint32 since 1.0.0-rc.1; a backend calls
IndexTypeFeatures.checkFeatures here and in bindIndexData.
Implementation
@override
void bindIndexBuffer(GeometryBuffer buffer, IndexType type, int indexCount) {
debugCheckLive(buffer, 'bindIndexBuffer');
commands.add(RecordedIndices(type, indexCount, transient: false));
_boundIndices = indexCount;
}