diff options
| author | JMC47 <JMC4789@gmail.com> | 2023-06-02 15:38:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-02 15:38:24 -0400 |
| commit | 09dc764ff9bb6aba964d2126c1472069d19e90d3 (patch) | |
| tree | 6d70b41e799224c2d790e4ba251dec3fcd9da8d0 /Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h | |
| parent | 426dffe789579dcd23b376a7d7255ee768d5287f (diff) | |
| parent | e028d2ead082c812efc5391c4dab3b08e298d441 (diff) | |
Merge pull request #11875 from iwubcode/texture_data_in_assets
VideoCommon: move custom texture data to assets
Diffstat (limited to 'Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h')
| -rw-r--r-- | Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h b/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h deleted file mode 100644 index 9a16bf1db0..0000000000 --- a/Source/Core/VideoCommon/GraphicsModSystem/Runtime/CustomTextureData.h +++ /dev/null @@ -1,32 +0,0 @@ -// Copyright 2023 Dolphin Emulator Project -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once - -#include <string> -#include <vector> - -#include "Common/CommonTypes.h" -#include "VideoCommon/TextureConfig.h" - -namespace VideoCommon -{ -class CustomTextureData -{ -public: - struct Level - { - std::vector<u8> data; - AbstractTextureFormat format = AbstractTextureFormat::RGBA8; - u32 width = 0; - u32 height = 0; - u32 row_length = 0; - }; - std::vector<Level> m_levels; -}; - -bool LoadDDSTexture(CustomTextureData* texture, const std::string& filename); -bool LoadDDSTexture(CustomTextureData::Level* level, const std::string& filename, u32 mip_level); -bool LoadPNGTexture(CustomTextureData* texture, const std::string& filename); -bool LoadPNGTexture(CustomTextureData::Level* level, const std::string& filename); -} // namespace VideoCommon |
