@@ -15,7 +15,7 @@ use graph_craft::concrete;
1515use graph_craft:: document:: value:: * ;
1616use graph_craft:: document:: * ;
1717use graphene_core:: raster:: brush_cache:: BrushCache ;
18- use graphene_core:: raster:: image:: ImageFrameTable ;
18+ use graphene_core:: raster:: image:: RasterDataTable ;
1919use graphene_core:: raster:: { CellularDistanceFunction , CellularReturnType , Color , DomainWarpType , FractalType , NoiseType , RedGreenBlueAlpha } ;
2020use graphene_core:: text:: { Font , TypesettingConfig } ;
2121use graphene_core:: transform:: Footprint ;
@@ -608,8 +608,8 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
608608 exports: vec![ NodeInput :: node( NodeId ( 3 ) , 0 ) ] ,
609609 nodes: [
610610 DocumentNode {
611- inputs: vec![ NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ] ,
612- implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::IntoNode<_, ImageFrameTable <SRGBA8>>" ) ) ,
611+ inputs: vec![ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ] ,
612+ implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::IntoNode<_, RasterDataTable <SRGBA8>>" ) ) ,
613613 ..Default :: default ( )
614614 } ,
615615 DocumentNode {
@@ -636,7 +636,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
636636 . collect( ) ,
637637 ..Default :: default ( )
638638 } ) ,
639- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
639+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
640640 ..Default :: default ( )
641641 } ,
642642 persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -852,7 +852,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
852852 nodes: [
853853 DocumentNode {
854854 inputs: vec![
855- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
855+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
856856 NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Red ) , false ) ,
857857 ] ,
858858 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -861,7 +861,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
861861 } ,
862862 DocumentNode {
863863 inputs: vec![
864- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
864+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
865865 NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Green ) , false ) ,
866866 ] ,
867867 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -870,7 +870,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
870870 } ,
871871 DocumentNode {
872872 inputs: vec![
873- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
873+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
874874 NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Blue ) , false ) ,
875875 ] ,
876876 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -879,7 +879,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
879879 } ,
880880 DocumentNode {
881881 inputs: vec![
882- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
882+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
883883 NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Alpha ) , false ) ,
884884 ] ,
885885 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -893,7 +893,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
893893 . collect( ) ,
894894 ..Default :: default ( )
895895 } ) ,
896- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
896+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
897897 ..Default :: default ( )
898898 } ,
899899 persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -959,13 +959,13 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
959959 exports: vec![ NodeInput :: node( NodeId ( 0 ) , 0 ) , NodeInput :: node( NodeId ( 1 ) , 0 ) ] ,
960960 nodes: [
961961 DocumentNode {
962- inputs: vec![ NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) , NodeInput :: value( TaggedValue :: XY ( XY :: X ) , false ) ] ,
962+ inputs: vec![ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) , NodeInput :: value( TaggedValue :: XY ( XY :: X ) , false ) ] ,
963963 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::ExtractXyNode" ) ) ,
964964 manual_composition: Some ( generic!( T ) ) ,
965965 ..Default :: default ( )
966966 } ,
967967 DocumentNode {
968- inputs: vec![ NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) , NodeInput :: value( TaggedValue :: XY ( XY :: Y ) , false ) ] ,
968+ inputs: vec![ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) , NodeInput :: value( TaggedValue :: XY ( XY :: Y ) , false ) ] ,
969969 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::ExtractXyNode" ) ) ,
970970 manual_composition: Some ( generic!( T ) ) ,
971971 ..Default :: default ( )
@@ -978,7 +978,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
978978
979979 ..Default :: default ( )
980980 } ) ,
981- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
981+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
982982 ..Default :: default ( )
983983 } ,
984984 persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -1029,7 +1029,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
10291029 exports: vec![ NodeInput :: node( NodeId ( 0 ) , 0 ) ] ,
10301030 nodes: vec![ DocumentNode {
10311031 inputs: vec![
1032- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
1032+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
10331033 NodeInput :: network( concrete!( Vec <graphene_core:: vector:: brush_stroke:: BrushStroke >) , 1 ) ,
10341034 NodeInput :: network( concrete!( BrushCache ) , 2 ) ,
10351035 ] ,
@@ -1044,7 +1044,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
10441044 ..Default :: default ( )
10451045 } ) ,
10461046 inputs: vec![
1047- NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ,
1047+ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ,
10481048 NodeInput :: value( TaggedValue :: BrushStrokes ( Vec :: new( ) ) , false ) ,
10491049 NodeInput :: value( TaggedValue :: BrushCache ( BrushCache :: new_proto( ) ) , false ) ,
10501050 ] ,
@@ -1083,7 +1083,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
10831083 node_template: NodeTemplate {
10841084 document_node: DocumentNode {
10851085 implementation: DocumentNodeImplementation :: proto( "graphene_core::memo::MemoNode" ) ,
1086- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
1086+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
10871087 manual_composition: Some ( concrete!( Context ) ) ,
10881088 ..Default :: default ( )
10891089 } ,
@@ -1102,7 +1102,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
11021102 node_template: NodeTemplate {
11031103 document_node: DocumentNode {
11041104 implementation: DocumentNodeImplementation :: proto( "graphene_core::memo::ImpureMemoNode" ) ,
1105- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
1105+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
11061106 manual_composition: Some ( concrete!( Context ) ) ,
11071107 ..Default :: default ( )
11081108 } ,
@@ -1784,7 +1784,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
17841784 ..Default :: default ( )
17851785 } ,
17861786 DocumentNode {
1787- inputs: vec![ NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) , NodeInput :: node( NodeId ( 0 ) , 0 ) ] ,
1787+ inputs: vec![ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) , NodeInput :: node( NodeId ( 0 ) , 0 ) ] ,
17881788 manual_composition: Some ( generic!( T ) ) ,
17891789 implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "wgpu_executor::UploadTextureNode" ) ) ,
17901790 ..Default :: default ( )
@@ -1802,7 +1802,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
18021802 . collect( ) ,
18031803 ..Default :: default ( )
18041804 } ) ,
1805- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
1805+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
18061806 ..Default :: default ( )
18071807 } ,
18081808 persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -1882,7 +1882,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
18821882 // document_node: DocumentNode {
18831883 // implementation: DocumentNodeImplementation::proto("graphene_core::raster::CurvesNode"),
18841884 // inputs: vec![
1885- // NodeInput::value(TaggedValue::ImageFrame(ImageFrameTable ::default()), true),
1885+ // NodeInput::value(TaggedValue::RasterData(RasterDataTable ::default()), true),
18861886 // NodeInput::value(TaggedValue::Curve(Default::default()), false),
18871887 // ],
18881888 // ..Default::default()
@@ -2646,7 +2646,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
26462646// exports: vec![NodeInput::node(NodeId(1), 0)],
26472647// nodes: [
26482648// DocumentNode {
2649- // inputs: vec![NodeInput::network(concrete!(ImageFrameTable <Color>), 0)],
2649+ // inputs: vec![NodeInput::network(concrete!(RasterDataTable <Color>), 0)],
26502650// implementation: DocumentNodeImplementation::proto("graphene_core::memo::MonitorNode"),
26512651// manual_composition: Some(concrete!(Context)),
26522652// skip_deduplication: true,
@@ -2684,7 +2684,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
26842684// ..Default::default()
26852685// }),
26862686// inputs: vec![
2687- // NodeInput::value(TaggedValue::ImageFrame(ImageFrameTable ::default()), true),
2687+ // NodeInput::value(TaggedValue::RasterData(RasterDataTable ::default()), true),
26882688// NodeInput::scope("editor-api"),
26892689// NodeInput::value(TaggedValue::ImaginateController(Default::default()), false),
26902690// NodeInput::value(TaggedValue::F64(0.), false), // Remember to keep index used in `ImaginateRandom` updated with this entry's index
0 commit comments