expose Engine->getSupportedFeatureLevel()
This commit is contained in:
@@ -25,4 +25,14 @@ enum Backend {
|
||||
4 => NOOP,
|
||||
_ => throw ArgumentError("Unknown value for TBackend: $value"),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
enum FeatureLevel {
|
||||
FeatureLevel0(0),
|
||||
FeatureLevel1(1),
|
||||
FeatureLevel2(2),
|
||||
FeatureLevel3(3);
|
||||
|
||||
final int value;
|
||||
const FeatureLevel(this.value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user