@@ -15,7 +15,7 @@ use graph_craft::concrete;
15
15
use graph_craft:: document:: value:: * ;
16
16
use graph_craft:: document:: * ;
17
17
use graphene_core:: raster:: brush_cache:: BrushCache ;
18
- use graphene_core:: raster:: image:: ImageFrameTable ;
18
+ use graphene_core:: raster:: image:: RasterDataTable ;
19
19
use graphene_core:: raster:: { CellularDistanceFunction , CellularReturnType , Color , DomainWarpType , FractalType , NoiseType , RedGreenBlueAlpha } ;
20
20
use graphene_core:: text:: { Font , TypesettingConfig } ;
21
21
use graphene_core:: transform:: Footprint ;
@@ -608,8 +608,8 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
608
608
exports: vec![ NodeInput :: node( NodeId ( 3 ) , 0 ) ] ,
609
609
nodes: [
610
610
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>>" ) ) ,
613
613
..Default :: default ( )
614
614
} ,
615
615
DocumentNode {
@@ -636,7 +636,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
636
636
. collect( ) ,
637
637
..Default :: default ( )
638
638
} ) ,
639
- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
639
+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
640
640
..Default :: default ( )
641
641
} ,
642
642
persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -852,7 +852,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
852
852
nodes: [
853
853
DocumentNode {
854
854
inputs: vec![
855
- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
855
+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
856
856
NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Red ) , false ) ,
857
857
] ,
858
858
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -861,7 +861,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
861
861
} ,
862
862
DocumentNode {
863
863
inputs: vec![
864
- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
864
+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
865
865
NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Green ) , false ) ,
866
866
] ,
867
867
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -870,7 +870,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
870
870
} ,
871
871
DocumentNode {
872
872
inputs: vec![
873
- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
873
+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
874
874
NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Blue ) , false ) ,
875
875
] ,
876
876
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -879,7 +879,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
879
879
} ,
880
880
DocumentNode {
881
881
inputs: vec![
882
- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
882
+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
883
883
NodeInput :: value( TaggedValue :: RedGreenBlueAlpha ( RedGreenBlueAlpha :: Alpha ) , false ) ,
884
884
] ,
885
885
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::raster::adjustments::ExtractChannelNode" ) ) ,
@@ -893,7 +893,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
893
893
. collect( ) ,
894
894
..Default :: default ( )
895
895
} ) ,
896
- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
896
+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
897
897
..Default :: default ( )
898
898
} ,
899
899
persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -959,13 +959,13 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
959
959
exports: vec![ NodeInput :: node( NodeId ( 0 ) , 0 ) , NodeInput :: node( NodeId ( 1 ) , 0 ) ] ,
960
960
nodes: [
961
961
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 ) ] ,
963
963
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::ExtractXyNode" ) ) ,
964
964
manual_composition: Some ( generic!( T ) ) ,
965
965
..Default :: default ( )
966
966
} ,
967
967
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 ) ] ,
969
969
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "graphene_core::ops::ExtractXyNode" ) ) ,
970
970
manual_composition: Some ( generic!( T ) ) ,
971
971
..Default :: default ( )
@@ -978,7 +978,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
978
978
979
979
..Default :: default ( )
980
980
} ) ,
981
- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
981
+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
982
982
..Default :: default ( )
983
983
} ,
984
984
persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -1029,7 +1029,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1029
1029
exports: vec![ NodeInput :: node( NodeId ( 0 ) , 0 ) ] ,
1030
1030
nodes: vec![ DocumentNode {
1031
1031
inputs: vec![
1032
- NodeInput :: network( concrete!( ImageFrameTable <Color >) , 0 ) ,
1032
+ NodeInput :: network( concrete!( RasterDataTable <Color >) , 0 ) ,
1033
1033
NodeInput :: network( concrete!( Vec <graphene_core:: vector:: brush_stroke:: BrushStroke >) , 1 ) ,
1034
1034
NodeInput :: network( concrete!( BrushCache ) , 2 ) ,
1035
1035
] ,
@@ -1044,7 +1044,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1044
1044
..Default :: default ( )
1045
1045
} ) ,
1046
1046
inputs: vec![
1047
- NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ,
1047
+ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ,
1048
1048
NodeInput :: value( TaggedValue :: BrushStrokes ( Vec :: new( ) ) , false ) ,
1049
1049
NodeInput :: value( TaggedValue :: BrushCache ( BrushCache :: new_proto( ) ) , false ) ,
1050
1050
] ,
@@ -1083,7 +1083,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1083
1083
node_template: NodeTemplate {
1084
1084
document_node: DocumentNode {
1085
1085
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 ) ] ,
1087
1087
manual_composition: Some ( concrete!( Context ) ) ,
1088
1088
..Default :: default ( )
1089
1089
} ,
@@ -1102,7 +1102,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1102
1102
node_template: NodeTemplate {
1103
1103
document_node: DocumentNode {
1104
1104
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 ) ] ,
1106
1106
manual_composition: Some ( concrete!( Context ) ) ,
1107
1107
..Default :: default ( )
1108
1108
} ,
@@ -1784,7 +1784,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1784
1784
..Default :: default ( )
1785
1785
} ,
1786
1786
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 ) ] ,
1788
1788
manual_composition: Some ( generic!( T ) ) ,
1789
1789
implementation: DocumentNodeImplementation :: ProtoNode ( ProtoNodeIdentifier :: new( "wgpu_executor::UploadTextureNode" ) ) ,
1790
1790
..Default :: default ( )
@@ -1802,7 +1802,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1802
1802
. collect( ) ,
1803
1803
..Default :: default ( )
1804
1804
} ) ,
1805
- inputs: vec![ NodeInput :: value( TaggedValue :: ImageFrame ( ImageFrameTable :: default ( ) ) , true ) ] ,
1805
+ inputs: vec![ NodeInput :: value( TaggedValue :: RasterData ( RasterDataTable :: default ( ) ) , true ) ] ,
1806
1806
..Default :: default ( )
1807
1807
} ,
1808
1808
persistent_node_metadata: DocumentNodePersistentMetadata {
@@ -1882,7 +1882,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
1882
1882
// document_node: DocumentNode {
1883
1883
// implementation: DocumentNodeImplementation::proto("graphene_core::raster::CurvesNode"),
1884
1884
// inputs: vec![
1885
- // NodeInput::value(TaggedValue::ImageFrame(ImageFrameTable ::default()), true),
1885
+ // NodeInput::value(TaggedValue::RasterData(RasterDataTable ::default()), true),
1886
1886
// NodeInput::value(TaggedValue::Curve(Default::default()), false),
1887
1887
// ],
1888
1888
// ..Default::default()
@@ -2646,7 +2646,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
2646
2646
// exports: vec![NodeInput::node(NodeId(1), 0)],
2647
2647
// nodes: [
2648
2648
// DocumentNode {
2649
- // inputs: vec![NodeInput::network(concrete!(ImageFrameTable <Color>), 0)],
2649
+ // inputs: vec![NodeInput::network(concrete!(RasterDataTable <Color>), 0)],
2650
2650
// implementation: DocumentNodeImplementation::proto("graphene_core::memo::MonitorNode"),
2651
2651
// manual_composition: Some(concrete!(Context)),
2652
2652
// skip_deduplication: true,
@@ -2684,7 +2684,7 @@ fn static_nodes() -> Vec<DocumentNodeDefinition> {
2684
2684
// ..Default::default()
2685
2685
// }),
2686
2686
// inputs: vec![
2687
- // NodeInput::value(TaggedValue::ImageFrame(ImageFrameTable ::default()), true),
2687
+ // NodeInput::value(TaggedValue::RasterData(RasterDataTable ::default()), true),
2688
2688
// NodeInput::scope("editor-api"),
2689
2689
// NodeInput::value(TaggedValue::ImaginateController(Default::default()), false),
2690
2690
// NodeInput::value(TaggedValue::F64(0.), false), // Remember to keep index used in `ImaginateRandom` updated with this entry's index
0 commit comments