23 lines
380 B
C++
Executable File
23 lines
380 B
C++
Executable File
// 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
|