PresentParameters.MultiSampleQuality Property |
Language: |
Retrieves or sets the multisample quality level.
Visual Basic Public Property MultiSampleQuality As Integer C# public int MultiSampleQuality { get; set; } C++ public:
property int MultiSampleQuality {
int get();
void set(int value);
}JScript public function get MultiSampleQuality() : int
public function set MultiSampleQuality(int);
System.Int32
This property is read/write.
Multisample quality level.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center