Type Function Object SnapshotObject Library display.* Return value none Revision Current Public Release (2017.3184) Keywords invalidate, render to texture See also display.newSnapshot() snapshot.canvas snapshot.group
Invalidating snapshots tells Corona to invalidate its texture cache and re-render the children to a texture on the next render pass.
Unlike most other objects in Corona, snapshots will not automatically recognize when children have been modified. This is because there's a cost to rendering to a texture.
snapshot:invalidate() snapshot:invalidate( "canvas" )