Microsoft DirectX 9.0 SDK Update (October 2004)

PresentParameters Class

Language:

Note: This documentation is preliminary and is subject to change.

Describes the presentation parameters.

Definition

Visual Basic .NET NotInheritable Public Class PresentParameters
   Inherits Object 
   Implements ICloneable
C# public sealed class PresentParameters : Object,
   ICloneable
Managed C++ public __gc __sealed class PresentParameters  : public Object,
   ICloneable
JScript .NET public class PresentParameters extends Object
   implements ICloneable

Members Table

Field Description
static (Shared in Visual Basic .NET) DefaultPresentRate Returns the default rate at which a swap chain's back buffers can be presented.
Method Description
Clone Clones, or copies, a PresentParameters object.
PresentParameters Creates a new instance of the PresentParameters class.
ToString Obtains a string representation of the current instance.
Property Description
AutoDepthStencilFormat Retrieves or sets the DepthFormat of the depth stencil surface the device creates.
BackBufferCount Retrieves or sets the number of back buffers.
BackBufferFormat Retrieves or sets the format of the back buffer.
BackBufferHeight Retrieves or sets the height of a swap chain's back buffers, in pixels.
BackBufferWidth Retrieves or sets the width of a swap chain's back buffers, in pixels.
DeviceWindow Retrieves or sets the display window.
DeviceWindowHandle Retrieves or sets the display window.
EnableAutoDepthStencil Retrieves or sets a Boolean value that indicates whether Microsoft® Direct3D® manages depth buffers for an application.
ForceNoMultiThreadedFlag Retrieves or sets a Boolean value that indicates whether an application can use multithreading.
FullScreenRefreshRateInHz Retrieves or sets the rate at which the display adapter refreshes the screen.
MultiSample Retrieves or sets the MultiSampleType.
MultiSampleQuality Retrieves or sets the multisample quality level.
PresentationInterval Retrieves or sets the maximum rate at which the swap chain's back buffers can be presented.
PresentFlag Retrieves or sets the present flag.
SwapEffect Retrieves or sets the swap effect.
Windowed Boolean value that indicates whether an application is running in a windowed mode.

Inheritance Hierarchy

Object Leave Site
PresentParameters

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll)
Strong Name Microsoft.DirectX.Direct3D,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

See Also


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center