RenderStateManager.MultiSampleAntiAlias Property |
Language: |
Determines how individual samples are computed when using a multisample render target buffer.
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);
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.
The default value is true.
This render state has no effect when rendering to a single sample buffer.
Feedback? Please provide us with your comments on this topic.