Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
resource_cache.hpp File Reference

Resources shared by name, loaded once and freed when nothing uses them. More...

#include <cstddef>
#include <cstdint>
#include <exception>
#include <functional>
#include <future>
#include <memory>
#include <mutex>
#include <stdexcept>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Classes

class  aegis2d::core::ResourceCache< Resource >
 Shares resources by name: each is loaded once, counted, and freed when unused. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::core
 Logging, time, main loop, events and configuration shared by client and server.
 

Detailed Description

Resources shared by name, loaded once and freed when nothing uses them.