Compartir a través de


MultiSampleType Enumeration

Defines 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 Enumeration MultiSampleType
'Usage
Dim instance As MultiSampleType
public enum MultiSampleType
public enum class MultiSampleType
public enum MultiSampleType
public enum MultiSampleType

Members

  Member name Description
Supported by the .NET Compact Framework EightSamples Enables eight levels of full-scene multisampling. 
Supported by the .NET Compact Framework ElevenSamples Enables 11 levels of full-scene multisampling. 
Supported by the .NET Compact Framework FifteenSamples Enables 15 levels of full-scene multisampling. 
Supported by the .NET Compact Framework FiveSamples Enables five levels of full-scene multisampling. 
Supported by the .NET Compact Framework FourSamples Enables four levels of full-scene multisampling. 
Supported by the .NET Compact Framework FourteenSamples Enables 14 levels of full-scene multisampling. 
Supported by the .NET Compact Framework NineSamples Enables nine levels of full-scene multisampling. 
Supported by the .NET Compact Framework None Specifies no full-scene multisampling, and enables swap effects other than SwapEffect.Discard
Supported by the .NET Compact Framework SevenSamples Enables seven levels of full-scene multisampling. 
Supported by the .NET Compact Framework SixSamples Enables six levels of full-scene multisampling. 
Supported by the .NET Compact Framework SixteenSamples Enables 16 levels of full-scene multisampling. 
Supported by the .NET Compact Framework TenSamples Enables 10 levels of full-scene multisampling. 
Supported by the .NET Compact Framework ThirteenSamples Enables 13 levels of full-scene multisampling. 
Supported by the .NET Compact Framework ThreeSamples Enables three levels of full-scene multisampling. 
Supported by the .NET Compact Framework TwelveSamples Enables 12 levels of full-scene multisampling. 
Supported by the .NET Compact Framework TwoSamples Enables two levels of full-scene multisampling. 

Remarks

When multisampling is enabled, all subsamples of a pixel are updated in one pass. However, when subsamples are used for other effects that involve multiple rendering passes, the application can specify that only some of them be affected by a given rendering pass. This latter approach enables simulation of motion blur, depth-of-field focus effects, reflection blur, and other effects.

In addition to enabling full-scene multisampling when a Reset of a Device occurs, there are render states that turn various multisampling aspects on and off at fine-grained levels. For more information, see RenderStateManager.

Multisampling is valid only on a swap chain that is created or reset with the Discard method of a SwapEffect.

The multisampling antialiasing value can be set with the parameters or sub-parameters in the following methods.

Platforms

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Direct3D Programming