summaryrefslogtreecommitdiffstats
path: root/src/core/tools/renderdoc.h
blob: 0e5e43da5b734473b14b541833f1cc53035aca83 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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