add dithering to view

This commit is contained in:
Nick Fisher committed 2025-01-07 08:25:48 +08:00
1 parent 151935913f
commit 6d36dc7923
1 file changed
+8
@@ -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);
}
}