29 lines
539 B
Markdown
29 lines
539 B
Markdown
# RHIDescriptorPool::GetDescriptorCount
|
|
|
|
```cpp
|
|
virtual uint32_t GetDescriptorCount() const = 0;
|
|
```
|
|
|
|
获取描述符数量。
|
|
|
|
## 参数列表
|
|
|
|
无参数。
|
|
|
|
## 返回值
|
|
|
|
`uint32_t` - 描述符池中的描述符数量
|
|
|
|
## 示例代码
|
|
|
|
```cpp
|
|
uint32_t count = descriptorPool->GetDescriptorCount();
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [RHIDescriptorPool 总览](descriptor-pool.md) - 返回类总览
|
|
- [Initialize](initialize.md) - 初始化描述符池
|
|
- [Shutdown](shutdown.md) - 关闭描述符池
|
|
- [GetType](get-type.md) - 获取描述符类型
|