diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-01-03 19:02:29 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-01-03 19:02:29 +0000 |
| commit | 568268cc51b0df5a7c1a712fe28ea7ef11ff4ed6 (patch) | |
| tree | 5363ace486d4246297013a7cf775572fa0ab6204 /Graphics/GraphicsEngine | |
| parent | A bunch of minor updated to D3D12 queries (diff) | |
| download | DiligentCore-568268cc51b0df5a7c1a712fe28ea7ef11ff4ed6.tar.gz DiligentCore-568268cc51b0df5a7c1a712fe28ea7ef11ff4ed6.zip | |
Completed implementation of timestamp queries in D3D11
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/Query.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngine/interface/Query.h b/Graphics/GraphicsEngine/interface/Query.h index dadcb37a..7b18100f 100644 --- a/Graphics/GraphicsEngine/interface/Query.h +++ b/Graphics/GraphicsEngine/interface/Query.h @@ -175,7 +175,10 @@ public: /// Diligent::QueryDataTimestamp, or Diligent::QueryDataPipelineStatistics /// structure. /// \param [in] DataSize - Size of the data structure. - /// \return true if the query data is available and false otherwise. + /// \return true if the query data is available and false otherwise. + /// + /// \note In Direct3D11 backend timestamp queries will only be available after FinishFrame is called + /// for the frame in which they were collected. virtual bool GetData(void* pData, Uint32 DataSize) = 0; }; |
