Add MemoizeImpure node and cache image base64 in graph (#1595)

* Cache base64 representation of images when converting to graphic group

* Fix build

* Fix build again

* Actually fix it this time

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
Dennis Kobert 2024-02-03 23:06:17 +01:00
parent 8fa46ba63a
commit 349ec5da72
No known key found for this signature in database
GPG key ID: 5C4243878B881A5C
12 changed files with 127 additions and 13 deletions

View file

@ -645,6 +645,7 @@ mod test {
width: 5,
height: 5,
data: vec![Color::from_rgbf32_unchecked(1., 0., 0.); 25],
base64_string: None,
});
let image = image.then(ImageRefNode::new());
let window = WindowNode::new(radius, image);