ID3D10Device::CreateQuery method (d3d10.h)
This interface encapsulates methods for querying information from the GPU.
Syntax
HRESULT CreateQuery(
[in] const D3D10_QUERY_DESC *pQueryDesc,
[out] ID3D10Query **ppQuery
);
Parameters
[in] pQueryDesc
Type: const D3D10_QUERY_DESC*
Pointer to a query description (see D3D10_QUERY_DESC).
[out] ppQuery
Type: ID3D10Query**
Address of a pointer to the query object created (see ID3D10Query Interface).
Return value
Type: HRESULT
This method returns one of the following Direct3D 10 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d10.h |
Library | D3D10.lib |