Performance questions

I have read the best practices but these are mostly about memory - coming from mobile I have some more questions about rendering.

Rendering and deforming raster images with joints is something I can gauge but I have not really used vector graphics much so I’m trying to get a feeling for the performance implications.

Are rigid shapes ‘cached’ or is everything always re-rendered? i.e. Is it cheaper to transform a group of shapes than animating vertices or animating a property on a shape?

It would be awesome to get some information on what is particularily costly when rendering vector graphics - my gutfeeling is that for example feathering with a big radius would be.

Is it possible to ‘instance’ the result of a rive view? In our in game shop we have a lot of duplicated items and I don’t want to waste the work calculating them all over. I would usually use render textures for this - is there an easy way of doing this in Rive?

Connected to the previous question - if Rive handles a list, are those items being instanced or created from scratch?

Here’s a video from me ‘spicing up’ the shop with Rive, to give you an idea.


many gems.mov


This all being said, in my light profiling I have not seen any red flags with this at all - but I’d love to get some insight to make me feel even more at ease 😊

Thanks!

seb