Queries
- 
namespace d3d
 Functions
- 
EventQuery *create_event_query()
 Creates a new event query.
- Returns:
 A pointer to the created event query, or nullptr if not supported or failed (device reset e.g.).
- 
void release_event_query(EventQuery *query)
 Releases the specified event query.
- Parameters:
 query – The event query to release.
- 
bool issue_event_query(EventQuery *query)
 Issues the specified event query.
- Parameters:
 query – The event query to issue.
- Returns:
 True if the query was successfully issued, false otherwise.
- 
bool get_event_query_status(EventQuery *query, bool force_flush)
 Gets the status of the specified event query.
- Parameters:
 query – The event query to check.
force_flush – Whether to force a flush before checking the status.
- Returns:
 False if the query is issued but not yet signaled, true otherwise (signaled, not issued, or bad query).
- 
EventQuery *create_event_query()