9 LPDIRECT3DQUERY9 query;
22 typedef std::vector<LatentQueryElement> QueryVector;
53 HRESULT GetLatestResults(DWORD *count);
54 HRESULT BeginNextQuery();
55 HRESULT EndNextQuery();
56 uint32 GetNumActiveQueries();
60 HRESULT BeginNewQuery(
void*
pUserData = NULL);
62 HRESULT EndNewQuery();
66 HRESULT WaitForFirstResult(DWORD *count,
void**
pUserData=NULL);
70 HRESULT CheckForFirstResult(DWORD *count,
void**
pUserData=NULL);
72 bool HasUnusedQuery();
80 QueryVector m_Queries;
different physics engine has different winding order.
Definition: EventBinding.h:32
Definition: OcclusionQueryBank.h:7
This is a bank of occlusion queries.
Definition: OcclusionQueryBank.h:48
void * pUserData
user data associated with a specific query object.
Definition: OcclusionQueryBank.h:18
int m_nFirstUnusedIndex
the index of the first unused query in the bank
Definition: OcclusionQueryBank.h:84
int m_nFirstQueryIndex
the index of the oldest query in the bank
Definition: OcclusionQueryBank.h:86