diff options
author | GPUCode <geoster3d@gmail.com> | 2023-09-10 22:26:09 +0200 |
---|---|---|
committer | GPUCode <geoster3d@gmail.com> | 2023-09-14 15:37:41 +0200 |
commit | c656105a6c6ce14ced695f8edb1864cbba4e66dd (patch) | |
tree | 65f998b067a4b01aac8841f11575214fe942fdfe /src/core/tools/renderdoc.h | |
parent | Merge pull request #11496 from liamwhite/ngc (diff) | |
download | yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar.gz yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar.bz2 yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar.lz yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar.xz yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.tar.zst yuzu-c656105a6c6ce14ced695f8edb1864cbba4e66dd.zip |
Diffstat (limited to 'src/core/tools/renderdoc.h')
-rw-r--r-- | src/core/tools/renderdoc.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/tools/renderdoc.h b/src/core/tools/renderdoc.h new file mode 100644 index 000000000..0e5e43da5 --- /dev/null +++ b/src/core/tools/renderdoc.h @@ -0,0 +1,22 @@ +// SPDX-FileCopyrightText: Copyright 2023 yuzu Emulator Project +// SPDX-License-Identifier: GPL-2.0-or-later + +#pragma once + +struct RENDERDOC_API_1_6_0; + +namespace Tools { + +class RenderdocAPI { +public: + explicit RenderdocAPI(); + ~RenderdocAPI(); + + void ToggleCapture(); + +private: + RENDERDOC_API_1_6_0* rdoc_api{}; + bool is_capturing{false}; +}; + +} // namespace Tools |