Animated thumbnails

This commit is contained in:
Adam
2025-07-17 00:31:09 -07:00
parent c2815ea0e3
commit 08c2d0543c
12 changed files with 239 additions and 60 deletions

View File

@@ -1,7 +1,9 @@
use glam::DVec2;
pub use graph_craft::document::value::RenderOutputType;
use graph_craft::document::value::{EditorMetadata, RenderOutput};
pub use graph_craft::wasm_application_io::*;
use graphene_application_io::ApplicationIo;
use graphene_core::gradient::GradientStops;
#[cfg(target_arch = "wasm32")]
use graphene_core::instances::Instances;
#[cfg(target_arch = "wasm32")]
@@ -240,10 +242,11 @@ async fn render<'a: 'n, T: 'n + GraphicElementRendered + WasmNotSend>(
graphene_core::Artboard,
graphene_core::ArtboardGroupTable,
Option<Color>,
GradientStops,
Vec<Color>,
bool,
f32,
f64,
DVec2,
String,
)]
data: T,