RenderOutputDescription Struct 
              
              
              Namespace: Stride.Graphics
              Assembly: Stride.Graphics.dll
              
              
              Describes render targets and depth stencil output formats.
 
              
              
              
              
              
              
                [DataContract]
public struct RenderOutputDescription : IEquatable<RenderOutputDescription>
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              
              
              
              
              
              
                public RenderOutputDescription(PixelFormat renderTargetFormat, PixelFormat depthStencilFormat = PixelFormat.None, MultisampleCount multisampleCount = MultisampleCount.None)
               
              
              Parameters
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Fields
              
                
              
              
              
              
              
              
              
              
              
              
                public PixelFormat DepthStencilFormat
               
              
              Field Value
              
              
              
              
              
              MultisampleCount
              
              
              
              
              
                public MultisampleCount MultisampleCount
               
              
              Field Value
              
              
              
              
              
              RenderTargetCount
              
              
              
              
              
                public int RenderTargetCount
               
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat0
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat1
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat2
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat3
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat4
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat5
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat6
               
              
              Field Value
              
              
              
              
              
              
              
              
              
              
              
                public PixelFormat RenderTargetFormat7
               
              
              Field Value
              
              
              
              
              
              ScissorTestEnable
              
              Enable scissor-rectangle culling. All pixels ouside an active scissor rectangle are culled.
 
              
              
              
                public bool ScissorTestEnable
               
              
              Field Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              CaptureState(CommandList)
              
              
              
              
              
                public void CaptureState(CommandList commandList)
               
              
              Parameters
              
              
              
              
              
              
              Equals(RenderOutputDescription)
              
              
              
              
              
                public bool Equals(RenderOutputDescription other)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
              
              
              
              Equals(Object)
              
              
              
              
              
                public override bool Equals(object obj)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Object | 
                    obj | 
                     | 
                  
                
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              Overrides
              System.ValueType.Equals(System.Object)
              
              
              
              
              
              GetHashCode()
              
              
              
              
              
                public override int GetHashCode()
               
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                     | 
                  
                
              
              Overrides
              System.ValueType.GetHashCode()
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Operators
              
                
              
              
              
              
              
              Equality(RenderOutputDescription, RenderOutputDescription)
              
              
              
              
              
                public static bool operator ==(RenderOutputDescription left, RenderOutputDescription right)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
              
              
              
              Inequality(RenderOutputDescription, RenderOutputDescription)
              
              
              
              
              
                public static bool operator !=(RenderOutputDescription left, RenderOutputDescription right)
               
              
              Parameters
              
              Returns
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              
              
 
              
               
              
              
              
                
                  System.ValueType.ToString()
                
               
              
              
              
              Extension Methods