| 1 |
|
| 2 |
|
| 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 |
|
| 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 |
} |