Debian Codegraph @

Source/Core/VideoCommon/TextureUtils.h

raw symbols SCIP
1 // Copyright 2023 Dolphin Emulator Project
2 // SPDX-License-Identifier: GPL-2.0-or-later
3
4 #pragma once
5
6 #include <string>
7 #include <unordered_set>
8
9 #include "Common/CommonTypes.h"
10
11 class AbstractTexture;
12
13 namespace VideoCommon::TextureUtils
14 {
15 class TextureDumper
16 {
17 public:
18 // Only dumps if texture did not already exist anywhere within the dump-textures path.
19 void DumpTexture(const ::AbstractTexture& texture, std::string basename, u32 level,
20 bool is_arbitrary);
21
22 private:
23 std::unordered_set<std::string> m_dumped_textures;
24 };
25
26 void DumpTexture(const ::AbstractTexture& texture, std::string basename, u32 level,
27 bool is_arbitrary);
28
29 } // namespace VideoCommon::TextureUtils