Is there any easy way of getting the Image from the bufferedToImage
cache from a Component?
I want to be able to make multiple copies of a component which only need to be images really, only updated when data changes.
Having an OwnedArray of the components and setting them all to bufferedToImage
seems like overkill. Is there a way to tackle this simply or do I need to dig into e.g. StandardCachedComponentImage code in Component.cpp?
You can’t use Component::createComponentSnapshot() or Component::getCachedComponentImage() ? You’d have to add a public getter for the image in StandardCachedComponentImage.
Rail
Ah yes createComponentSnapshot
was what I was after… cheers