- Fix link resolution with proper relative/absolute path handling - Improve link styling with underline decoration - Hide leaf nodes from tree, only show directories - Fix log file path for packaged app
21 lines
427 B
Markdown
21 lines
427 B
Markdown
# OpenGLRenderTargetView::BindFramebuffer
|
||
|
||
```cpp
|
||
static void BindFramebuffer(unsigned int framebuffer)
|
||
```
|
||
|
||
静态方法,将指定帧缓冲区绑定为当前渲染目标。
|
||
|
||
**参数:**
|
||
- `framebuffer` - 帧缓冲区 ID(0 表示解除绑定)
|
||
|
||
**示例:**
|
||
|
||
```cpp
|
||
OpenGLRenderTargetView::BindFramebuffer(rtv.GetFramebuffer());
|
||
```
|
||
|
||
## 相关文档
|
||
|
||
- [OpenGLRenderTargetView](render-target-view.md) - 返回类总览
|