Create an "empty shell" Resource base class

Create issue
Issue #783 new
Martin Preisler created an issue

This class would contain enough info to load a resource.

We could simply reload any resources without pointers to them changing.

Advantages: CEGUI Unified Editor can reload anything that changes on disk with ease, games can defer loading resources that are not needed immediately, they can load the rest in a thread to bring initial load times down considerably.

Reproducibility: have not tried

Comments (1)

  1. Martin Preisler reporter

    Also add ResourceRef, a cached ptr wrapper that Resource would invalidate when it's getting destroyed.

  2. Log in to comment