IQueryD3D12 struct
Exposes Direct3D12-specific functionality of a Query object.
Contents
- Reference
Base classes
- struct IQuery
- Query interface.
Public functions
- auto GetD3D12QueryHeap() -> ID3D12QueryHeap*METHOD() virtual
- Returns the Direct3D12 query heap that internal query object resides in.
- auto GetQueryHeapIndex(Uint32 QueryId) const -> Uint32 METHOD() virtual
- Returns the index of a query object in Direct3D12 query heap.
Function documentation
Uint32 METHOD() Diligent:: IQueryD3D12:: GetQueryHeapIndex(Uint32 QueryId) const virtual
Returns the index of a query object in Direct3D12 query heap.
| Parameters | |
|---|---|
| QueryId in | - Query Id. For most query types this must be 0. An exception is QUERY_TYPE_DURATION, in which case allowed values are 0 for the beginning timestamp query, and 1 for the ending query. |
| Returns | the index of a query object in Direct3D12 query heap |