From 7501af2487700060526c5b0c7fc78cc1ee2965cf Mon Sep 17 00:00:00 2001 From: assiduous Date: Thu, 2 Jan 2020 22:29:01 -0800 Subject: Added query interface; implemented queries in D3D11 and D3D12 --- .../GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Graphics/GraphicsEngineNextGenBase') diff --git a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h index 974e7545..f5b04389 100644 --- a/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h +++ b/Graphics/GraphicsEngineNextGenBase/include/DeviceContextNextGenBase.h @@ -88,6 +88,11 @@ public: this->m_pDevice->UnlockCommandQueue(m_CommandQueueId); } + Uint32 GetCommandQueueId() const + { + return m_CommandQueueId; + } + protected: // Should be called at the end of FinishFrame() void EndFrame() -- cgit v1.2.3