docs: update RHI API docs
This commit is contained in:
@@ -1,15 +1,21 @@
|
||||
# D3D12ConstantBufferView::GetCPUDescriptorHandle
|
||||
|
||||
```cpp
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle() const { return m_handle; }
|
||||
D3D12_CPU_DESCRIPTOR_HANDLE GetCPUDescriptorHandle() const;
|
||||
```
|
||||
|
||||
获取 CPU 描述符句柄。
|
||||
获取 CPU 描述符句柄,用于绑定到命令列表。
|
||||
|
||||
**返回:** CPU 描述符句柄
|
||||
## 返回值
|
||||
|
||||
**复杂度:** O(1)
|
||||
| 类型 | 描述 |
|
||||
|------|------|
|
||||
| `D3D12_CPU_DESCRIPTOR_HANDLE` | CPU 侧描述符句柄,可用于设置命令列表 |
|
||||
|
||||
## 复杂度
|
||||
|
||||
O(1)
|
||||
|
||||
## 相关文档
|
||||
|
||||
- [D3D12ConstantBufferView 总览](constant-buffer-view.md) - 返回类总览
|
||||
- [D3D12ConstantBufferView 总览](constant-buffer-view.md)
|
||||
|
||||
Reference in New Issue
Block a user