31 lines
355 B
Markdown
31 lines
355 B
Markdown
# D3D12QueryHeap::GetCount
|
|
|
|
## 函数签名
|
|
|
|
```cpp
|
|
uint32_t GetCount() const
|
|
```
|
|
|
|
## 中文描述
|
|
|
|
获取查询堆中的查询数量。
|
|
|
|
## 返回值
|
|
|
|
`uint32_t` - 查询数量
|
|
|
|
## 复杂度
|
|
|
|
O(1)
|
|
|
|
## 示例
|
|
|
|
```cpp
|
|
uint32_t count = d3d12QueryHeap->GetCount();
|
|
```
|
|
|
|
## 相关文档
|
|
|
|
- [D3D12QueryHeap](query-heap.md) - 类总览
|
|
- [GetType](get-type.md)
|