21 lines
330 B
Markdown
21 lines
330 B
Markdown
|
|
# OpenGLCommandList::SetPipelineState
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
void SetPipelineState(void* pipelineState)
|
||
|
|
```
|
||
|
|
|
||
|
|
设置渲染管线状态。
|
||
|
|
|
||
|
|
**参数:**
|
||
|
|
- `pipelineState` - 管线状态对象指针
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
commandList->SetPipelineState(pipelineState);
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [OpenGLCommandList](command-list.md) - 返回类总览
|