docs: update core and debug API docs

This commit is contained in:
2026-03-20 02:35:07 +08:00
parent 0c073db4e8
commit e165dbea1c
73 changed files with 743 additions and 391 deletions

View File

@@ -4,6 +4,8 @@
**类型**: `enum class`
**头文件**: `XCEngine/Debug/LogCategory.h`
**描述**: 日志分类枚举,定义日志的来源模块。
## 概述
@@ -29,7 +31,7 @@
| 函数 | 描述 |
|------|------|
| `const char* LogCategoryToString(LogCategory category)` | [将日志分类转换为字符串](logcategorytostring.md) |
| [`LogCategoryToString`](logcategorytostring.md) | 将日志分类转换为字符串 |
## 使用示例

View File

@@ -11,6 +11,8 @@ const char* LogCategoryToString(LogCategory category)
**返回:** 对应分类的字符串("General", "Rendering", "Physics" 等)
**线程安全:**
**复杂度:** O(1)
**示例:**