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