RenderTargetUpdateFlags.cs 1023 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. namespace Ryujinx.Graphics.Gpu.Engine.Threed
  3. {
  4. /// <summary>
  5. /// Flags indicating how the render targets should be updated.
  6. /// </summary>
  7. [Flags]
  8. enum RenderTargetUpdateFlags
  9. {
  10. /// <summary>
  11. /// No flags.
  12. /// </summary>
  13. None = 0,
  14. /// <summary>
  15. /// Get render target index from the control register.
  16. /// </summary>
  17. UseControl = 1 << 0,
  18. /// <summary>
  19. /// Indicates that all render targets are 2D array textures.
  20. /// </summary>
  21. Layered = 1 << 1,
  22. /// <summary>
  23. /// Indicates that only a single color target will be used.
  24. /// </summary>
  25. SingleColor = 1 << 2,
  26. /// <summary>
  27. /// Indicates that the depth-stencil target will be used.
  28. /// </summary>
  29. UpdateDepthStencil = 1 << 3,
  30. /// <summary>
  31. /// Default update flags for draw.
  32. /// </summary>
  33. UpdateAll = UseControl | UpdateDepthStencil
  34. }
  35. }