add dithering to view

This commit is contained in:
Nick Fisher
2024-11-30 14:01:11 +08:00
parent fb650dbd52
commit 877e8def80

View File

@@ -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();
} }