载入中...
搜索中...
未找到
Resource.h 文件参考
#include "common/AssetReloader.h"
#include "common/BorrowedRef.h"
#include "common/Export.h"
#include "common/Result.h"
#include "common/RuntimeRegistry.h"
#include <cstddef>
#include <condition_variable>
#include <map>
#include <memory>
#include <mutex>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>

浏览源代码.

类

class  eve::Resource
 Resource is a game object that is managed by the ResourceManager. It can be loaded from a file or generated at runtime. If the resource is loaded from file, a monitor will be created to watch the file changes. When the file is modified, the resource will be reloaded. If the resource is generated at runtime, it can depend on a few other resources and the ResourceManager will update the resource when the dependencies are changed. 更多...
 
class  eve::ResourceManager
 ResourceManager is a singleton that manages all resources in the game. It provides a way to load, reload, and unload resources. 更多...
 
struct  eve::ResourceManager::AsyncLoad
 AsyncLoad public API. 更多...
 

命名空间

namespace  eve
 Build metadata (engine git commit, build time, third-party version).
 

类型定义

using eve::ResourcePin = script::RuntimePin< Resource, ResourceCacheTag >
 Keep-alive pin on one cached resource; see script::RuntimePin.