![]() |
![]() |
![]() |
PresentParameters.MultiSampleQuality Property |
Language: |
Retrieves or sets the multisample quality level.
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);
System.Int32 . Multisample quality level.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center