clearSceneTemplateCache function Assets and loading

void clearSceneTemplateCache()

Drops every cached scene template, whatever their outstanding claims.

Prefer releaseScene where the caller knows what it loaded. Nodes already realized keep their own references and stay resident until collected.

Implementation

void clearSceneTemplateCache() {
  _sceneTemplates.clear();
  _sceneTemplateHolders.clear();
}