aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs
new file mode 100644
index 00000000..b937f577
--- /dev/null
+++ b/src/Ryujinx.Graphics.Gpu/Image/TextureScaleMode.cs
@@ -0,0 +1,16 @@
+namespace Ryujinx.Graphics.Gpu.Image
+{
+ /// <summary>
+ /// The scale mode for a given texture.
+ /// Blacklisted textures cannot be scaled, Eligible textures have not been scaled yet,
+ /// and Scaled textures have been scaled already.
+ /// Undesired textures will stay at 1x until a situation where they must match a scaled texture.
+ /// </summary>
+ enum TextureScaleMode
+ {
+ Eligible = 0,
+ Scaled = 1,
+ Blacklisted = 2,
+ Undesired = 3
+ }
+}