docs: update RHI API docs
This commit is contained in:
26
docs/api/rhi/d3d12/sampler/bind.md
Normal file
26
docs/api/rhi/d3d12/sampler/bind.md
Normal file
@@ -0,0 +1,26 @@
|
||||
# D3D12Sampler::Bind
|
||||
|
||||
## 函数签名
|
||||
|
||||
```cpp
|
||||
void Bind(unsigned int unit) override
|
||||
```
|
||||
|
||||
## 描述
|
||||
|
||||
绑定采样器到指定的纹理单元。此方法继承自 `RHISampler` 接口。
|
||||
|
||||
## 参数
|
||||
|
||||
| 参数 | 类型 | 描述 |
|
||||
|------|------|------|
|
||||
| `unit` | `unsigned int` | 纹理单元索引 |
|
||||
|
||||
## 返回值
|
||||
|
||||
无
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12Sampler](sampler.md) - 类总览
|
||||
- [RHISampler](../../sampler/sampler.md) - 抽象采样器接口
|
||||
Reference in New Issue
Block a user