docs: update RHI API docs

This commit is contained in:
2026-03-20 02:35:45 +08:00
parent ea756c0177
commit 070b444f8f
501 changed files with 13493 additions and 2022 deletions

View File

@@ -4,12 +4,21 @@
virtual const std::string& GetName() const = 0;
```
获取缓冲区名称(用于调试
获取缓冲区名称(用于调试和诊断)。名称通常在图形调试器(如 RenderDoc、PIX中显示
**返回:** 缓冲区名称
**返回:** 缓冲区名称字符串
**线程安全:**
**复杂度:** O(1)
**示例:**
```cpp
const std::string& name = buffer->GetName();
printf("Buffer name: %s\n", name.c_str());
```
## 相关文档
- [RHIBuffer 总览](buffer.md) - 返回类总览