WIP graster-nodes: change Color params to Option<Color>

This commit is contained in:
firestar99
2025-08-26 11:24:10 +02:00
parent c716e83a7c
commit 648178f852
5 changed files with 37 additions and 3 deletions

View File

@@ -51,6 +51,7 @@ fn node_registry() -> HashMap<ProtoNodeIdentifier, HashMap<NodeIOTypes, NodeCons
#[cfg(feature = "gpu")]
into_node!(from: Table<Raster<GPU>>, to: Table<Graphic>),
// into_node!(from: Table<Raster<CPU>>, to: Table<Raster<SRGBA8>>),
into_node!(from: Table<Color>, to: Option<Color>),
#[cfg(feature = "gpu")]
into_node!(from: &WasmEditorApi, to: &WgpuExecutor),
// =============