summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-01-03 19:02:29 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-01-03 19:02:29 +0000
commit568268cc51b0df5a7c1a712fe28ea7ef11ff4ed6 (patch)
tree5363ace486d4246297013a7cf775572fa0ab6204 /Graphics/GraphicsEngine
parentA bunch of minor updated to D3D12 queries (diff)
downloadDiligentCore-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.h5
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;
};