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

@@ -1,13 +1,18 @@
# OpenGLRenderTargetView::GetWidth / GetHeight
# OpenGLRenderTargetView::GetWidth
```cpp
int GetWidth() const;
int GetHeight() const;
```
获取渲染目标视图的宽度和高度
获取渲染目标视图的宽度(像素)
**返回:**度/高
**返回:** `int` - 渲染目标宽度
**示例:**
```cpp
int width = rtv.GetWidth();
```
## 相关文档