| 
    Castor3D
    ..
    
   | 
 
GPU query implementation. More...
 Inheritance diagram for Castor3D::GpuQuery:
 Collaboration diagram for Castor3D::GpuQuery:Public Member Functions | |
| C3D_API | GpuQuery (RenderSystem &p_renderSystem, eQUERY_TYPE p_query) | 
| Constructor.  More... | |
| virtual C3D_API | ~GpuQuery () | 
| Destructor.  More... | |
| C3D_API bool | Create () | 
| Creates the query on GPU.  More... | |
| C3D_API void | Destroy () | 
| Destroys the query on GPU.  More... | |
| C3D_API bool | Begin () | 
| Begins the query.  More... | |
| C3D_API void | End () | 
| Ends the query.  More... | |
| template<typename T > | |
| bool | GetInfos (eQUERY_INFO p_infos, T &p_param) const | 
| Retrieves query information.  More... | |
Protected Member Functions | |
| virtual C3D_API bool | DoCreate ()=0 | 
| Creates the query on GPU.  More... | |
| virtual C3D_API void | DoDestroy ()=0 | 
| Destroys the query on GPU.  More... | |
| virtual C3D_API bool | DoBegin () const =0 | 
| Begins the query.  More... | |
| virtual C3D_API void | DoEnd () const =0 | 
| Ends the query.  More... | |
| virtual C3D_API bool | DoGetInfos (eQUERY_INFO p_infos, int32_t &p_param) const =0 | 
| Retrieves query information.  More... | |
| virtual C3D_API bool | DoGetInfos (eQUERY_INFO p_infos, uint32_t &p_param) const =0 | 
| Retrieves query information.  More... | |
| virtual C3D_API bool | DoGetInfos (eQUERY_INFO p_infos, int64_t &p_param) const =0 | 
| Retrieves query information.  More... | |
| virtual C3D_API bool | DoGetInfos (eQUERY_INFO p_infos, uint64_t &p_param) const =0 | 
| Retrieves query information.  More... | |
Protected Attributes | |
| bool | m_active { false } | 
| Tells if the query is active.  More... | |
| eQUERY_TYPE | m_type | 
| The query type.  More... | |
GPU query implementation.
| C3D_API Castor3D::GpuQuery::GpuQuery | ( | RenderSystem & | p_renderSystem, | 
| eQUERY_TYPE | p_query | ||
| ) | 
Constructor.
| [in] | p_renderSystem | The RenderSystem. | 
| [in] | p_query | The query type. | 
      
  | 
  virtual | 
Destructor.
| C3D_API bool Castor3D::GpuQuery::Begin | ( | ) | 
Begins the query.
true if everything is OK. | C3D_API bool Castor3D::GpuQuery::Create | ( | ) | 
Creates the query on GPU.
true if everything is OK. | C3D_API void Castor3D::GpuQuery::Destroy | ( | ) | 
Destroys the query on GPU.
      
  | 
  protectedpure virtual | 
Begins the query.
true if everything is OK. 
      
  | 
  protectedpure virtual | 
Creates the query on GPU.
true if everything is OK. 
      
  | 
  protectedpure virtual | 
Destroys the query on GPU.
      
  | 
  protectedpure virtual | 
Ends the query.
      
  | 
  protectedpure virtual | 
Retrieves query information.
| [in] | p_infos | The information to retrieve. | 
| [out] | p_param | Receives the result. | 
true if the information was retrieved. Referenced by GetInfos().
 Here is the caller graph for this function:
      
  | 
  protectedpure virtual | 
Retrieves query information.
| [in] | p_infos | The information to retrieve. | 
| [out] | p_param | Receives the result. | 
true if the information was retrieved. 
      
  | 
  protectedpure virtual | 
Retrieves query information.
| [in] | p_infos | The information to retrieve. | 
| [out] | p_param | Receives the result. | 
true if the information was retrieved. 
      
  | 
  protectedpure virtual | 
Retrieves query information.
| [in] | p_infos | The information to retrieve. | 
| [out] | p_param | Receives the result. | 
true if the information was retrieved. | C3D_API void Castor3D::GpuQuery::End | ( | ) | 
Ends the query.
      
  | 
  inline | 
Retrieves query information.
| [in] | p_infos | The information to retrieve. | 
| [out] | p_param | Receives the result. | 
true if the information was retrieved. References DoGetInfos().
 Here is the call graph for this function:
      
  | 
  protected | 
Tells if the query is active.
      
  | 
  protected | 
The query type.
 1.8.15