RenderStateManager.MultiSampleAntiAlias Property

Language:

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

Determines how individual samples are computed when using a multisample render target buffer.

Definition

Visual Basic .NET Public Property MultiSampleAntiAlias As Boolean
C# public bool MultiSampleAntiAlias { get; set; }
Managed C++ public: __property bool get_MultiSampleAntiAlias();
public: __property void set_MultiSampleAntiAlias(bool);
JScript .NET public function get MultiSampleAntiAlias() : boolean
public function set MultiSampleAntiAlias(boolean);

Property Value

System.Boolean . When set to true, the multiple samples are computed so that full-scene antialiasing is performed by sampling at different sample positions for each multiple sample. When set to false, the multiple samples are all written with the same sample value, sampled at the pixel center, which allows non-antialiased rendering to a multisample buffer.

This property is read/write. 

Remarks

The default value is true.

This render state has no effect when rendering to a single sample buffer.


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

Feedback? Please provide us with your comments on this topic.