Share via


RenderStateManager.MultiSampleAntiAlias Property (Microsoft.DirectX.Direct3D)

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

Definition

Visual Basic Public Property MultiSampleAntiAlias As Boolean
C# public bool MultiSampleAntiAlias { get; set; }
C++ public:
property bool MultiSampleAntiAlias {
        bool get();
        void set(bool value);
}
JScript 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.