Microsoft DirectX 9.0 SDK Update (October 2004)

PresentParameters.MultiSampleQuality Property

Language:

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

Retrieves or sets the multisample quality level.

Definition

Visual Basic .NET Public Property MultiSampleQuality As Integer
C# public int MultiSampleQuality { get; set; }
Managed C++ public: __property int get_MultiSampleQuality();
public: __property void set_MultiSampleQuality(int);
JScript .NET public function get MultiSampleQuality() : int
public function set MultiSampleQuality(int);

Property Value

System.Int32 . Multisample quality level.

This property is read/write. 

Remarks

The valid range is between 0 and one less than the level returned by the param_Int32R_qualityLevels parameter used by Manager.CheckDeviceMultiSampleType. Passing a larger value causes an InvalidCallException. Paired values of render targets or depth stencil surfaces must match MultiSample.

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.


© 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