add dithering to view

This commit is contained in:
Nick Fisher
2024-11-30 13:59:10 +08:00
parent 151935913f
commit 6d36dc7923

View File

@@ -81,4 +81,12 @@ class FFIView extends View {
Future<bool> isStencilBufferEnabled() async {
return View_isStencilBufferEnabled(view);
}
Future setDithering(bool enabled) async {
View_setDitheringEnabled(view, enabled);
}
Future<bool> isDitheringEnabled() async {
return View_isDitheringEnabled(view);
}
}