summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngine
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2018-10-02 02:55:30 +0000
committerEgor Yusov <egor.yusov@gmail.com>2018-10-02 02:55:30 +0000
commit98f46b397b76ead7aaa701ebdadb949ac9ecb7d6 (patch)
tree1a0f2be785f2add72f908b1d4b949912f24735fa /Graphics/GraphicsEngine
parentFixed typo in repo desc. (diff)
downloadDiligentCore-98f46b397b76ead7aaa701ebdadb949ac9ecb7d6.tar.gz
DiligentCore-98f46b397b76ead7aaa701ebdadb949ac9ecb7d6.zip
Removed ForceRelease parameter of IDeviceContext::FinishFrame()
Diffstat (limited to 'Graphics/GraphicsEngine')
-rw-r--r--Graphics/GraphicsEngine/interface/DeviceContext.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/Graphics/GraphicsEngine/interface/DeviceContext.h b/Graphics/GraphicsEngine/interface/DeviceContext.h
index ccbe8745..5469931d 100644
--- a/Graphics/GraphicsEngine/interface/DeviceContext.h
+++ b/Graphics/GraphicsEngine/interface/DeviceContext.h
@@ -513,13 +513,11 @@ public:
/// release dynamic resources. The method has some overhead, so it is better to call it once
/// per frame, though it can be called with different frequency. Note that unless the GPU is idled,
/// the resources may actually be released several frames after the one they were used in last time.
- /// \param ForceRelease - force release all stale resources. Use this option only if you are sure
- /// the resources are not in use by the GPU (the GPU has been idled or a
- /// fence indicates all commands are finished).
/// \note After the call all dynamic resources become invalid and must be written again before the next use.
+ /// Also, all committed resources become invalid.
/// For deferred contexts, this method must be called after all command lists referencing dynamic resources
/// have been executed through immediate context.
- virtual void FinishFrame(bool ForceRelease = false) = 0;
+ virtual void FinishFrame() = 0;
};
}