docs: update RHI API docs

This commit is contained in:
2026-03-20 02:35:45 +08:00
parent ea756c0177
commit 070b444f8f
501 changed files with 13493 additions and 2022 deletions

View File

@@ -0,0 +1,26 @@
# D3D12Common::GetSamplerDescriptorSize
```cpp
inline UINT GetSamplerDescriptorSize(ID3D12Device* device)
```
获取采样器Sampler的描述符大小。
**参数:**
- `device` - D3D12 设备指针
**返回:** Sampler 描述符大小(字节)
**线程安全:** ✅(只读操作)
**示例:**
```cpp
ID3D12Device* device = ...;
UINT samplerSize = GetSamplerDescriptorSize(device);
```
## 相关文档
- [D3D12Common 总览](common.md)
- [GetCBV_SRV_UAVDescriptorSize](get-cbv-srv-uav-descriptor-size.md)