feat: allow custom material for grid overlay, and material creation from Uint8List

This commit is contained in:
Nick Fisher
2024-12-17 14:05:30 +08:00
parent ba3636a203
commit 5fb5e42b98

View File

@@ -765,8 +765,8 @@ abstract class ThermionViewer {
/// ///
/// ///
/// ///
Future showGridOverlay(); Future showGridOverlay({covariant Material? material});
/// ///
/// ///
/// ///
@@ -788,6 +788,11 @@ abstract class ThermionViewer {
/// ///
Future destroyTexture(covariant ThermionTexture texture); Future destroyTexture(covariant ThermionTexture texture);
///
///
///
Future<Material> createMaterial(Uint8List data);
/// ///
/// ///
/// ///