refactor(docs): fix Resources module paths and cross-references for engine restructure
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
**类型**: `class`
|
||||
|
||||
**头文件**: `XCEngine/Resources/FileSystem.h`
|
||||
**头文件**: `XCEngine/Core/IO/ResourceFileSystem.h`
|
||||
|
||||
**描述**: 资源文件系统,负责资源文件的查找、读取和虚拟文件系统(支持目录和归档包)管理。
|
||||
|
||||
@@ -50,14 +50,14 @@
|
||||
|------|------|
|
||||
| `Initialize()` | 初始化,设置资源根目录 |
|
||||
| `Shutdown()` | 关闭,释放所有归档 |
|
||||
| [`AddArchive`](addarchive.md) | 添加归档包(优先查找) |
|
||||
| [`AddDirectory`](adddirectory.md) | 添加资源目录 |
|
||||
| [`RemoveArchive`](removearchive.md) | 移除归档包 |
|
||||
| [`FindResource`](findresource.md) | 查找资源的绝对路径 |
|
||||
| [`Exists`](exists.md) | 检查资源是否存在 |
|
||||
| [`ReadResource`](readresource.md) | 读取资源文件内容(字节数组) |
|
||||
| [`GetResourceInfo`](getresourceinfo.md) | 获取资源信息 |
|
||||
| [`EnumerateResources`](enumerateresources.md) | 枚举匹配的资源 |
|
||||
| [`AddArchive`](../resource-file-system/add-archive.md) | 添加归档包(优先查找) |
|
||||
| [`AddDirectory`](../resource-file-system/add-directory.md) | 添加资源目录 |
|
||||
| [`RemoveArchive`](../resource-file-system/remove-archive.md) | 移除归档包 |
|
||||
| [`FindResource`](../resource-file-system/find-resource.md) | 查找资源的绝对路径 |
|
||||
| [`Exists`](../resource-file-system/exists.md) | 检查资源是否存在 |
|
||||
| [`ReadResource`](../resource-file-system/read-resource.md) | 读取资源文件内容(字节数组) |
|
||||
| [`GetResourceInfo`](../resource-file-system/get-resource-info.md) | 获取资源信息 |
|
||||
| [`EnumerateResources`](../resource-file-system/enumerate-resources.md) | 枚举匹配的资源 |
|
||||
|
||||
## 实现说明
|
||||
|
||||
@@ -101,6 +101,6 @@ ResourceFileSystem::Get().Shutdown();
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [ResourceManager](../resourcemanager/resourcemanager.md) - 资源管理器
|
||||
- [ResourceManager](../resource-manager/resource-manager.md) - 资源管理器
|
||||
- [IResourceLoader](../iloader/iloader.md) - 资源加载器
|
||||
- [Resources 总览](../resources.md) - 返回模块总览
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
**类型**: `class` (abstract)
|
||||
|
||||
**头文件**: `XCEngine/Resources/ILoader.h`
|
||||
**头文件**: `XCEngine/Core/IO/IResourceLoader.h`
|
||||
|
||||
**描述**: 资源加载器抽象接口,定义了资源加载的标准协议。每个资源类型需要提供对应的加载器实现。
|
||||
|
||||
@@ -115,7 +115,7 @@ ResourceManager::Get().RegisterLoader(new TextureLoader());
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [ResourceManager](../resourcemanager/resourcemanager.md) - 资源管理器
|
||||
- [ResourceManager](../resource-manager/resource-manager.md) - 资源管理器
|
||||
- [AsyncLoader](../asyncloader/asyncloader.md) - 异步加载器
|
||||
- [ImportSettings](../importsettings/importsettings.md) - 导入设置
|
||||
- [Resources 总览](../resources.md) - 返回模块总览
|
||||
|
||||
Reference in New Issue
Block a user