Freigeben über


PresentParameters.MultiSample Property

Retrieves or sets the levels of full-scene multisampling that the device can apply.

Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Property MultiSample As MultiSampleType
'Usage
Dim instance As PresentParameters
Dim value As MultiSampleType

value = instance.MultiSample

instance.MultiSample = value
public MultiSampleType MultiSample { get; set; }
public:
property MultiSampleType MultiSample {
    MultiSampleType get ();
    void set (MultiSampleType value);
}
/** @property */
public MultiSampleType get_MultiSample ()

/** @property */
public void set_MultiSample (MultiSampleType value)
public function get MultiSample () : MultiSampleType

public function set MultiSample (value : MultiSampleType)

Property Value

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

Remarks

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

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

PresentParameters Class
PresentParameters Members
Microsoft.WindowsMobile.DirectX.Direct3D Namespace