mirror of
https://github.com/storytold/materialcraft.git
synced 2026-11-24 08:21:01 +01:00
Add linked graph instances
This commit is contained in:
1 parent
8101e8da68
commit
570bc528a6
95 files changed
+2872
-373
No files matched your search
@@ -9,6 +9,11 @@ pub struct FunctionNode {
|
||||
#[serde(default)]
|
||||
pub type_code: u32,
|
||||
pub op: String,
|
||||
#[serde(default, skip_serializing_if = "Option::is_none")]
|
||||
pub instance: Option<crate::GraphInstance>,
|
||||
/// Resolved call body shared by cooks; SBS stores only the source reference
|
||||
#[serde(skip)]
|
||||
pub source: Option<Result<std::sync::Arc<crate::FunctionGraph>, String>>,
|
||||
// Slots follow the native operation's connector order
|
||||
#[serde(default)]
|
||||
pub inputs: Vec<Option<u32>>,
|
||||
|
||||
Reference in new issue
Block a user