Files
XCEngine/docs/api/rhi/opengl/pipeline-state/constructor.md
2026-03-20 02:35:45 +08:00

22 lines
413 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OpenGLPipelineState::OpenGLPipelineState
```cpp
OpenGLPipelineState();
```
构造一个 `OpenGLPipelineState` 对象。
**线程安全:**
**注意:** 初始化清除颜色为 (0, 0, 0, 0)program 句柄为 0附加标志为 false。
**示例:**
```cpp
auto* pipelineState = new OpenGLPipelineState();
```
## 相关文档
- [OpenGLPipelineState 总览](pipeline-state.md) - 返回类总览