summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureInfo.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2026-01-19 14:42:20 -0600
committerGitHub <noreply@github.com>2026-01-19 14:42:20 -0600
commit2a771937cf0a4a45cd466d3eea089a083f73f3c0 (patch)
treecd3bc78dc6fced38ad190069dbbe0e160ce2813a /Source/Core/VideoCommon/TextureInfo.cpp
parentbd96de52b5a0ccf9fb08c21a83596ba980afab96 (diff)
parentb07c78aabe4646a7329d279f999c6d136e055734 (diff)
Merge pull request #14294 from JosJuice/textureinfo-getters-header
VideoCommon: Move TextureInfo getters to header
Diffstat (limited to 'Source/Core/VideoCommon/TextureInfo.cpp')
-rw-r--r--Source/Core/VideoCommon/TextureInfo.cpp135
1 files changed, 0 insertions, 135 deletions
diff --git a/Source/Core/VideoCommon/TextureInfo.cpp b/Source/Core/VideoCommon/TextureInfo.cpp
index 8c73626a35..17e5107501 100644
--- a/Source/Core/VideoCommon/TextureInfo.cpp
+++ b/Source/Core/VideoCommon/TextureInfo.cpp
@@ -175,101 +175,6 @@ TextureInfo::NameDetails TextureInfo::CalculateTextureName() const
.format_name = fmt::to_string(static_cast<int>(m_texture_format))};
}
-bool TextureInfo::IsDataValid() const
-{
- return m_data_valid;
-}
-
-const u8* TextureInfo::GetData() const
-{
- return m_data.data();
-}
-
-const u8* TextureInfo::GetTlutAddress() const
-{
- return m_tlut_data.data();
-}
-
-u32 TextureInfo::GetRawAddress() const
-{
- return m_address;
-}
-
-bool TextureInfo::IsFromTmem() const
-{
- return m_from_tmem;
-}
-
-const u8* TextureInfo::GetTmemOddAddress() const
-{
- return m_tmem_odd.data();
-}
-
-TextureFormat TextureInfo::GetTextureFormat() const
-{
- return m_texture_format;
-}
-
-TLUTFormat TextureInfo::GetTlutFormat() const
-{
- return m_tlut_format;
-}
-
-std::optional<u32> TextureInfo::GetPaletteSize() const
-{
- return m_palette_size;
-}
-
-u32 TextureInfo::GetTextureSize() const
-{
- return m_texture_size;
-}
-
-u32 TextureInfo::GetBlockWidth() const
-{
- return m_block_width;
-}
-
-u32 TextureInfo::GetBlockHeight() const
-{
- return m_block_height;
-}
-
-u32 TextureInfo::GetExpandedWidth() const
-{
- return m_expanded_width;
-}
-
-u32 TextureInfo::GetExpandedHeight() const
-{
- return m_expanded_height;
-}
-
-u32 TextureInfo::GetRawWidth() const
-{
- return m_raw_width;
-}
-
-u32 TextureInfo::GetRawHeight() const
-{
- return m_raw_height;
-}
-
-u32 TextureInfo::GetStage() const
-{
- return m_stage;
-}
-
-bool TextureInfo::HasMipMaps() const
-{
- return m_limited_mip_count != 0;
-}
-
-u32 TextureInfo::GetLevelCount() const
-{
- return m_limited_mip_count + 1;
-}
-
TextureInfo::MipLevels TextureInfo::GetMipMapLevels() const
{
MipLevelIterator begin;
@@ -314,46 +219,6 @@ TextureInfo::MipLevel::MipLevel(u32 level, const TextureInfo& parent, std::span<
*data = Common::SafeSubspan(*data, m_texture_size);
}
-bool TextureInfo::MipLevel::IsDataValid() const
-{
- return m_data_valid;
-}
-
-const u8* TextureInfo::MipLevel::GetData() const
-{
- return m_ptr;
-}
-
-u32 TextureInfo::MipLevel::GetTextureSize() const
-{
- return m_texture_size;
-}
-
-u32 TextureInfo::MipLevel::GetExpandedWidth() const
-{
- return m_expanded_width;
-}
-
-u32 TextureInfo::MipLevel::GetExpandedHeight() const
-{
- return m_expanded_height;
-}
-
-u32 TextureInfo::MipLevel::GetRawWidth() const
-{
- return m_raw_width;
-}
-
-u32 TextureInfo::MipLevel::GetRawHeight() const
-{
- return m_raw_height;
-}
-
-u32 TextureInfo::MipLevel::GetLevel() const
-{
- return m_level;
-}
-
TextureInfo::MipLevelIterator& TextureInfo::MipLevelIterator::operator++()
{
++m_level_index;