RenderTargetGraphicsPresenter Class
              
              
              Namespace: Stride.Graphics
              Assembly: Stride.Graphics.dll
              
              
              Graphics presenter for SwapChain.
 
              
              
              
              
                 Derived from RenderTargetGraphicsPresenter: 
              
              
              
              
              
                public class RenderTargetGraphicsPresenter : GraphicsPresenter, IDisposable, IComponent, IReferencable, ICollectorHolder
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              RenderTargetGraphicsPresenter(GraphicsDevice, Texture, PixelFormat)
              
              
              
              
              
                public RenderTargetGraphicsPresenter(GraphicsDevice device, Texture renderTarget, PixelFormat depthFormat = PixelFormat.None)
               
              
              Parameters
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Properties
              
                
              
              
              
              
              
              BackBuffer
              
              
              
              
              
                public override Texture BackBuffer { get; }
               
              
              Property Value
              
              Overrides
              
              
              
              
              
              
              IsFullScreen
              
              
              
              
              
                public override bool IsFullScreen { get; set; }
               
              
              Property Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Boolean | 
                     | 
                  
                
              
              Overrides
              
              
              
              
              
              
              NativePresenter
              
              
              
              
              
                public override object NativePresenter { get; }
               
              
              Property Value
              
                
                  
                    | Type | 
                    Description | 
                  
                
                
                  
                    | System.Object | 
                     | 
                  
                
              
              Overrides
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Methods
              
                
              
              
              
              
              
              Present()
              
              
              
              
              
                public override void Present()
               
              
              Overrides
              
              
              
              
              
              
              
              
              
              
              
              
                protected override void ResizeBackBuffer(int width, int height, PixelFormat format)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    width | 
                     | 
                  
                  
                    | System.Int32 | 
                    height | 
                     | 
                  
                  
                    | PixelFormat | 
                    format | 
                     | 
                  
                
              
              Overrides
              
              
              
              
              
              
              
              
              
              
              
              
                protected override void ResizeDepthStencilBuffer(int width, int height, PixelFormat format)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | System.Int32 | 
                    width | 
                     | 
                  
                  
                    | System.Int32 | 
                    height | 
                     | 
                  
                  
                    | PixelFormat | 
                    format | 
                     | 
                  
                
              
              Overrides
              
              
              
              
              
              
              SetBackBuffer(Texture)
              
              
              
              
              
                public void SetBackBuffer(Texture backBuffer)
               
              
              Parameters
              
                
                  
                    | Type | 
                    Name | 
                    Description | 
                  
                
                
                  
                    | Texture | 
                    backBuffer | 
                    The back buffer. 
 | 
                  
                
              
              
              
 
              
               
              
              
              
              
              
              
              Extension Methods