summaryrefslogtreecommitdiff
path: root/tools/gfx/renderer-shared.h
diff options
context:
space:
mode:
authorlucy96chen <47800040+lucy96chen@users.noreply.github.com>2022-02-18 22:17:13 -0800
committerGitHub <noreply@github.com>2022-02-18 22:17:13 -0800
commite993ff5f8d21d77dd3fb579f7afc51c6dcad834c (patch)
tree37e5a9fc2f285a2bdd073cd11835d020d20d5c33 /tools/gfx/renderer-shared.h
parent7953c0b6e4e6328bacf9945763013f9e0af6e435 (diff)
Added implementations for IFence::getSharedHandle() for Vulkan and D3D12 (#2137)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/gfx/renderer-shared.h')
-rw-r--r--tools/gfx/renderer-shared.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/renderer-shared.h b/tools/gfx/renderer-shared.h
index 5afc77027..8fc74158c 100644
--- a/tools/gfx/renderer-shared.h
+++ b/tools/gfx/renderer-shared.h
@@ -192,6 +192,8 @@ class FenceBase : public IFence, public Slang::ComObject
public:
SLANG_COM_OBJECT_IUNKNOWN_ALL
IFence* getInterface(const Slang::Guid& guid);
+protected:
+ InteropHandle sharedHandle = {};
};
class Resource : public Slang::ComObject