- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
25 lines
434 B
Markdown
25 lines
434 B
Markdown
# ResourceFileSystem::Initialize
|
|
|
|
```cpp
|
|
void Initialize(const Containers::String& rootPath)
|
|
```
|
|
|
|
初始化资源文件系统。设置资源根目录,准备虚拟文件系统。
|
|
|
|
**参数:**
|
|
- `rootPath` - 资源根目录路径
|
|
|
|
**返回:** 无
|
|
|
|
**复杂度:** O(1)
|
|
|
|
**示例:**
|
|
|
|
```cpp
|
|
ResourceFileSystem::Get().Initialize("resources/");
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [ResourceFileSystem 总览](filesystem.md) - 返回类总览
|