summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/Fence.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/Fence.h b/Graphics/GraphicsEngine/interface/Fence.h
index 7a7ee8c5..d2a27473 100644
--- a/Graphics/GraphicsEngine/interface/Fence.h
+++ b/Graphics/GraphicsEngine/interface/Fence.h
@@ -54,6 +54,10 @@ public:
virtual const FenceDesc& GetDesc()const override = 0;
/// Returns the last completed value signaled by the GPU
+
+ /// \remarks This method is not thread safe (even if the fence object is protected by mutex)
+ /// and must only be called by the same thread that signals the fence via
+ /// IDeviceContext::SignalFence().
virtual Uint64 GetCompletedValue() = 0;
/// Resets the fence to the specified value.