26 lines
564 B
C++
26 lines
564 B
C++
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
namespace VideoCore {
|
|
|
|
/// Loads renderdoc dynamic library module.
|
|
void LoadRenderDoc();
|
|
|
|
/// Begins a capture if a renderdoc instance is attached.
|
|
void StartCapture();
|
|
|
|
/// Ends current renderdoc capture.
|
|
void EndCapture();
|
|
|
|
/// Triggers capturing process.
|
|
void TriggerCapture();
|
|
|
|
/// Sets output directory for captures
|
|
void SetOutputDir(const std::string& path, const std::string& prefix);
|
|
|
|
} // namespace VideoCore
|