add dithering to view

This commit is contained in:
Nick Fisher committed 2025-01-07 08:25:48 +08:00
1 parent fb650dbd52
commit 877e8def80
1 file changed
+2 -1
@@ -1,6 +1,5 @@
import 'package:thermion_dart/thermion_dart.dart'; import 'package:thermion_dart/thermion_dart.dart';
/// ///
/// The viewport currently attached to a [View]. /// The viewport currently attached to a [View].
/// ///
@@ -29,4 +28,6 @@ abstract class View {
Future setBloom(double strength); Future setBloom(double strength);
Future setStencilBufferEnabled(bool enabled); Future setStencilBufferEnabled(bool enabled);
Future<bool> isStencilBufferEnabled(); Future<bool> isStencilBufferEnabled();
Future setDithering(bool enabled);
Future<bool> isDitheringEnabled();
} }