Condividi tramite


PresentationParameters Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Contains presentation parameters.

Inheritance Hierarchy

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

Namespace:  Microsoft.Xna.Framework.Graphics
Assembly:  Microsoft.Xna.Framework.Graphics (in Microsoft.Xna.Framework.Graphics.dll)

Syntax

'Declaration
Public Class PresentationParameters
public class PresentationParameters

The PresentationParameters type exposes the following members.

Properties

  Name Description
Public property BackBufferFormat Gets or sets the format of the back buffer.
Public property BackBufferHeight Gets or sets a value indicating the height of the new swap chain's back buffer.
Public property BackBufferWidth Gets or sets a value indicating the width of the new swap chain's back buffer.
Public property Bounds Gets the size of this resource.
Public property DepthStencilFormat Gets or sets the depth stencil data format.
Public property MultiSampleCount Gets or sets a value indicating the number of sample locations during multisampling.
Public property RenderTargetUsage Gets or sets render target usage flags.

Top

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.