From 568268cc51b0df5a7c1a712fe28ea7ef11ff4ed6 Mon Sep 17 00:00:00 2001 From: assiduous Date: Fri, 3 Jan 2020 11:02:29 -0800 Subject: Completed implementation of timestamp queries in D3D11 --- Graphics/GraphicsEngine/interface/Query.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Graphics/GraphicsEngine') 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; }; -- cgit v1.2.3