다음을 통해 공유


MultiSampleType Enumeration

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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
type MultiSampleType

Members

Member name Description
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 TwoSamples Enables two 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 FourSamples Enables four 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 SixSamples Enables six levels of full-scene multisampling.
Supported by the .NET Compact Framework SevenSamples Enables seven levels of full-scene multisampling.
Supported by the .NET Compact Framework EightSamples Enables eight 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 TenSamples Enables 10 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 TwelveSamples Enables 12 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 FourteenSamples Enables 14 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 SixteenSamples Enables 16 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 Smartphone, Windows Mobile for Pocket PC

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

Version Information

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

Microsoft.WindowsMobile.DirectX.Direct3D Namespace

Other Resources

Mobile Direct3D Programming in the .NET Compact Framework