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 uint64_t GetSize() const = 0;
```
获取缓冲区大小(字节)。
获取缓冲区大小(字节)。
**返回:** 缓冲区大小
**返回:** 缓冲区大小(字节)
**线程安全:**
**复杂度:** O(1)
**示例:**
```cpp
uint64_t size = buffer->GetSize();
printf("Buffer size: %llu bytes\n", (unsigned long long)size);
```
## 相关文档
- [RHIBuffer 总览](buffer.md) - 返回类总览