docs: update RHI API docs
This commit is contained in:
21
docs/api/rhi/opengl/pipeline-state/constructor.md
Normal file
21
docs/api/rhi/opengl/pipeline-state/constructor.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# OpenGLPipelineState::OpenGLPipelineState
|
||||
|
||||
```cpp
|
||||
OpenGLPipelineState();
|
||||
```
|
||||
|
||||
构造一个 `OpenGLPipelineState` 对象。
|
||||
|
||||
**线程安全:** ❌
|
||||
|
||||
**注意:** 初始化清除颜色为 (0, 0, 0, 0),program 句柄为 0,附加标志为 false。
|
||||
|
||||
**示例:**
|
||||
|
||||
```cpp
|
||||
auto* pipelineState = new OpenGLPipelineState();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [OpenGLPipelineState 总览](pipeline-state.md) - 返回类总览
|
||||
Reference in New Issue
Block a user