20 lines
343 B
Markdown
20 lines
343 B
Markdown
|
|
# RHIDescriptorPool::GetDescriptorCount
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
virtual uint32_t GetDescriptorCount() const = 0;
|
||
|
|
```
|
||
|
|
|
||
|
|
获取描述符数量。
|
||
|
|
|
||
|
|
**返回:** 描述符池中的描述符数量
|
||
|
|
|
||
|
|
**示例:**
|
||
|
|
|
||
|
|
```cpp
|
||
|
|
uint32_t count = descriptorPool->GetDescriptorCount();
|
||
|
|
```
|
||
|
|
|
||
|
|
## 相关文档
|
||
|
|
|
||
|
|
- [RHIDescriptorPool 总览](descriptor-pool.md) - 返回类总览
|