Bagikan melalui


PresentationParameters Members

The following tables list the members exposed by the PresentationParameters type.

Public Constructors

Name Description
Public Method PresentationParameters Initializes a new instance of this class.

Public Fields

Name Description
Public Field DefaultPresentRate The default presentation rate.

Public Properties

Name Description
Public Property AutoDepthStencilFormat Gets or sets a value specifying the format of the depth-stencil surface that the device will automatically create.
Public Property BackBufferCount Gets or sets a value specifying how many back buffers to create.
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 DeviceWindowHandle Gets or sets the handle to the device window.
Public Property EnableAutoDepthStencil Gets or sets a value indicating whether Direct3D will manage depth buffers for the application.
Public Property FullScreenRefreshRateInHz Gets or sets a value indicating the rate at which the display adapter will refresh the screen.
Public Property IsFullScreen Gets or sets a value indicating whether the application is in full screen mode.
Public Property MultiSampleQuality Gets or sets a value indicating the multisample quality level.
Public Property MultiSampleType Gets or sets the multisample type.
Public Property PresentationInterval Gets or sets the maximum rate at which the swap chain's back buffers can be presented to the front buffer.
Public Property PresentOptions Gets or sets miscellaneous presentation flags.
Public Property SwapEffect Gets or sets the swap effect.

Public Methods

Name Description
Public Method Clear Resets all of the PresentationParameters values.
Public Method Clone Creates a copy of this PresentationParameters object.
Public Method Dispose Overloaded. Immediately releases the unmanaged resources used by this object.
Public Method Equals Overloaded. Returns a value that indicates whether the current instance is equal to a specified object.
Public Method GetHashCode Gets the hash code for this instance.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Compares two objects to determine whether they are the same.
Public Method Static op_Inequality Compares two objects to determine whether they are different.
Public Method ReferenceEquals (Inherited from Object.)
Public Method ToString Retrieves a string representation of this object.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

PresentationParameters Class
Microsoft.Xna.Framework.Graphics Namespace