Files
XCSDD/docs/api/resources/asyncloader/getprogress.md
ssdfasd 58a83f445a fix: improve doc link navigation and tree display
- 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
2026-03-19 12:44:08 +08:00

25 lines
454 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AsyncLoader::GetProgress
```cpp
float GetProgress() const
```
获取整体加载进度。返回已完成加载数与总请求数的比值,范围 0.0f ~ 1.0f。
**参数:**
**返回:** 加载进度0.0f ~ 1.0f
**复杂度:** O(1)
**示例:**
```cpp
float progress = AsyncLoader::Get().GetProgress();
printf("Loading: %.1f%%\n", progress * 100.0f);
```
## 相关文档
- [AsyncLoader 总览](asyncloader.md) - 返回类总览