Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey@blender.org>2022-02-18 17:32:24 +0300
committerSergey Sharybin <sergey@blender.org>2022-02-18 17:32:24 +0300
commit303b566b10f9008f6608a3cce08dbac3c64b6b4a (patch)
treec0fe37b5ae98bcd2a76770bdaa705fda0ab1e531 /intern/cycles/integrator/path_trace.h
parent40cddcd917a7de26a89908b82c6583ace8f76641 (diff)
parente4b7d52fe4fe3076f5f68ff575c200f5cf16e416 (diff)
Merge branch 'blender-v3.1-release'
Diffstat (limited to 'intern/cycles/integrator/path_trace.h')
-rw-r--r--intern/cycles/integrator/path_trace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/integrator/path_trace.h b/intern/cycles/integrator/path_trace.h
index 1be5ce847bc..a470a6e1402 100644
--- a/intern/cycles/integrator/path_trace.h
+++ b/intern/cycles/integrator/path_trace.h
@@ -226,6 +226,9 @@ class PathTrace {
void progress_set_status(const string &status, const string &substatus = "");
+ /* Destroy GPU resources (such as graphics interop) used by work. */
+ void destroy_gpu_resources();
+
/* Pointer to a device which is configured to be used for path tracing. If multiple devices
* are configured this is a `MultiDevice`. */
Device *device_ = nullptr;