docs: update RHI API docs
This commit is contained in:
36
docs/api/rhi/d3d12/pipeline-state/bind.md
Normal file
36
docs/api/rhi/d3d12/pipeline-state/bind.md
Normal file
@@ -0,0 +1,36 @@
|
||||
# D3D12PipelineState::Bind
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
void Bind() override
|
||||
```
|
||||
|
||||
## 中文描述
|
||||
|
||||
绑定管线状态到渲染上下文。此方法从 `RHIPipelineState` 基类继承并重写。当前实现为空。
|
||||
|
||||
## 参数
|
||||
|
||||
无
|
||||
|
||||
## 返回值
|
||||
|
||||
无
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(1)
|
||||
|
||||
## 示例
|
||||
|
||||
```cpp
|
||||
D3D12PipelineState pipelineState;
|
||||
// ... 初始化 pipelineState
|
||||
pipelineState.Bind();
|
||||
```
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12PipelineState](pipeline-state.md) - 类总览
|
||||
- [RHIPipelineState](../../pipeline-state/pipeline-state.md) - 抽象管线状态接口
|
||||
Reference in New Issue
Block a user