Share via


PresentParameters.MultiSample Property (Microsoft.DirectX.Direct3D)

Retrieves or sets the MultiSampleType.

Definition

Visual Basic Public Property MultiSample As MultiSampleType
C# public MultiSampleType MultiSample { get; set; }
C++ public:
property MultiSampleType MultiSample {
        MultiSampleType get();
        void set(MultiSampleType value);
}
JScript public function get MultiSample() : MultiSampleType
public function set MultiSample(MultiSampleType);

Property Value

Microsoft.DirectX.Direct3D.MultiSampleType
Member of the MultiSampleType enumeration that indicates the level of multisampling used by the swap chain.

This property is read/write. 

Remarks

The value must be None unless the SwapEffect property is set to SwapEffect.Discard. Multisampling is supported only if the swap effect is SwapEffect.Discard.