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 | |
---|---|---|
EightSamples | Enables eight levels of full-scene multisampling. | |
ElevenSamples | Enables 11 levels of full-scene multisampling. | |
FifteenSamples | Enables 15 levels of full-scene multisampling. | |
FiveSamples | Enables five levels of full-scene multisampling. | |
FourSamples | Enables four levels of full-scene multisampling. | |
FourteenSamples | Enables 14 levels of full-scene multisampling. | |
NineSamples | Enables nine levels of full-scene multisampling. | |
None | Specifies no full-scene multisampling, and enables swap effects other than SwapEffect.Discard. | |
SevenSamples | Enables seven levels of full-scene multisampling. | |
SixSamples | Enables six levels of full-scene multisampling. | |
SixteenSamples | Enables 16 levels of full-scene multisampling. | |
TenSamples | Enables 10 levels of full-scene multisampling. | |
ThirteenSamples | Enables 13 levels of full-scene multisampling. | |
ThreeSamples | Enables three levels of full-scene multisampling. | |
TwelveSamples | Enables 12 levels of full-scene multisampling. | |
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 .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
Microsoft.WindowsMobile.DirectX.Direct3D Namespace