docs: update RHI API docs
This commit is contained in:
@@ -1,13 +1,18 @@
|
||||
# OpenGLRenderTargetView::GetWidth / GetHeight
|
||||
# OpenGLRenderTargetView::GetWidth
|
||||
|
||||
```cpp
|
||||
int GetWidth() const;
|
||||
int GetHeight() const;
|
||||
```
|
||||
|
||||
获取渲染目标视图的宽度和高度。
|
||||
获取渲染目标视图的宽度(像素)。
|
||||
|
||||
**返回:** 宽度/高度
|
||||
**返回:** `int` - 渲染目标宽度
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
int width = rtv.GetWidth();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
|
||||
Reference in New Issue
Block a user