TextureUsageFlags.cs 412 B

123456789101112131415161718
  1. using System;
  2. namespace Ryujinx.Graphics.Shader
  3. {
  4. /// <summary>
  5. /// Flags that indicate how a texture will be used in a shader.
  6. /// </summary>
  7. [Flags]
  8. public enum TextureUsageFlags
  9. {
  10. None = 0,
  11. // Integer sampled textures must be noted for resolution scaling.
  12. ResScaleUnsupported = 1 << 0,
  13. NeedsScaleValue = 1 << 1,
  14. ImageStore = 1 << 2
  15. }
  16. }