mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Add monitor node for graph introspection
Adds a `serialize` function on Node which can be implemented by nodes to allow introspecting their content. This pr also adds a Monitor Node that always caches the last value it was evaluated with. Test Plan: - Reviewers: 0HyperCube Reviewed By: 0HyperCube Pull Request: https://github.com/GraphiteEditor/Graphite/pull/1165
This commit is contained in:
committed by
Keavon Chambers
parent
9cf93a9156
commit
271f9d5158
@@ -153,6 +153,7 @@ fn node_registry() -> HashMap<NodeIdentifier, HashMap<NodeIOTypes, NodeConstruct
|
||||
register_node!(graphene_std::raster::MaskImageNode<_, _, _>, input: ImageFrame<Color>, params: [ImageFrame<Color>]),
|
||||
register_node!(graphene_std::raster::MaskImageNode<_, _, _>, input: ImageFrame<Color>, params: [ImageFrame<Luma>]),
|
||||
register_node!(graphene_std::raster::EmptyImageNode<_, _>, input: DAffine2, params: [Color]),
|
||||
register_node!(graphene_std::memo::MonitorNode<_, _>, input: (), params: [ImageFrame<Color>]),
|
||||
#[cfg(feature = "gpu")]
|
||||
register_node!(graphene_std::executor::MapGpuSingleImageNode<_>, input: Image<Color>, params: [String]),
|
||||
vec![(
|
||||
|
||||
Reference in New Issue
Block a user