SwapChainGraphicsPresenter Class
              
              
              Namespace: Stride.Graphics
              Assembly: Stride.Graphics.dll
              
              
              Graphics presenter for SwapChain.
                 Derived from SwapChainGraphicsPresenter: 
              
              
              
              
              
                public class SwapChainGraphicsPresenter : GraphicsPresenter, IDisposable, IComponent, IReferencable, ICollectorHolder
               
              
              
              
              
              
                  
              
                     
              
                
                  |
                  Improve this Doc
                
                
                  View Source
                
              
              
                Constructors
              
                
              
              
              
              
              
              SwapChainGraphicsPresenter(GraphicsDevice, PresentationParameters)
              
              
              
              
              
                public SwapChainGraphicsPresenter(GraphicsDevice device, PresentationParameters presentationParameters)
               
              
              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
              
                
              
              
              
              
              
              BeginDraw(CommandList)
              
              
              
              
              
                public override void BeginDraw(CommandList commandList)
               
              
              Parameters
              
              Overrides
              
              
              
              
              
              
              EndDraw(CommandList, Boolean)
              
              
              
              
              
                public override void EndDraw(CommandList commandList, bool present)
               
              
              Parameters
              
                
                  
                    | Type | Name | Description | 
                
                
                  
                    | CommandList | commandList |  | 
                  
                    | System.Boolean | present |  | 
                
              
              Overrides
              
              
              
              
              
              
              OnDestroyed()
              
              
              
              
              
                protected override void OnDestroyed()
               
              
              Overrides
              
              
              
              
              
              
              OnNameChanged()
              
              
              
              
              
                protected override void OnNameChanged()
               
              
              Overrides
              
              
              
              
              
              
              OnRecreated()
              
              
              
              
              
                public override void OnRecreated()
               
              
              Overrides
              
              
              
              
              
              
              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
              
              
              
 
              
               
              
              
              
              
              
              
              Extension Methods