Bagikan melalui


PresentationParameters.MultiSampleType Property

Gets or sets the multisample type.

Namespace: Microsoft.Xna.Framework.Graphics
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public MultiSampleType MultiSampleType { get; set; }

Property Value

The multisample type. Must be MultiSampleType.None unless SwapEffect has been set to SwapEffect.Discard. Multisampling is supported only if SwapEffect is SwapEffect.Discard.

Remarks

Warning

In cases where the size of the back buffer and depth stencil buffer exceed the size of the Xbox 360 10 MB of embedded memory (EDRAM), predicated tiling is utilized on this platform to compensate for the additional memory requirements. Predicated tiling is a process by which scene rendering is performed multiple times on subsections of the final render target dimensions. The multisampling chosen with the MultiSampleType property directly affects the size of the back buffer and may trigger predicated tiling.

See Also

Concepts

Predicated Tiling

Reference

PresentationParameters Class
PresentationParameters Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista