PresentationParameters Class (Microsoft.Xna.Framework.Graphics)

System.Object
   Microsoft.Xna.Framework.Graphics.PresentationParameters

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.362)
  • C#
  • VB
  • F#
public class PresentationParameters

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The PresentationParameters type exposes the following members.

  Platforms Name Description
PresentationParameters Create a PresentationParameters instance with default values for all properties. 
Top
  Platforms Name Description
DefaultPresentRate  
Top
  Platforms Name Description
BackBufferFormat Get or set the format of the back buffer. 
BackBufferHeight Get or set the height of the back buffer. 
BackBufferWidth Get or set the width of the back buffer. 
Bounds Get the bounds of the back buffer. 
DepthStencilFormat Get or set the depth stencil format for the back buffer. 
DeviceWindowHandle Get or set the handle of the window that will present the back buffer. 
DisplayOrientation Get or set the display orientation. 
HardwareModeSwitch If true the GraphicsDevice will do a mode switch when going to full screen mode. If false it will instead do a soft full screen by maximizing the window and making it borderless. 
IsFullScreen Get or set a value indicating if we are in full screen mode. 
MultiSampleCount Get or set the multisample count for the back buffer. 
PresentationInterval Get or set the presentation interval. 
RenderTargetUsage Get or set the RenderTargetUsage for the back buffer. Determines if the back buffer is cleared when it is set as the render target by the GraphicsDevice. GraphicsDevice target. 
Top
  Platforms Name Description
Clear Reset all properties to their default values. 
Clone Create a copy of this PresentationParameters instance. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web