PresentParameters.SwapEffect Property
Retrieves or sets the swap effect.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Property SwapEffect As SwapEffect
'Usage
Dim instance As PresentParameters
Dim value As SwapEffect
value = instance.SwapEffect
instance.SwapEffect = value
public SwapEffect SwapEffect { get; set; }
public:
property SwapEffect SwapEffect {
SwapEffect get ();
void set (SwapEffect value);
}
/** @property */
public SwapEffect get_SwapEffect ()
/** @property */
public void set_SwapEffect (SwapEffect value)
public function get SwapEffect () : SwapEffect
public function set SwapEffect (value : SwapEffect)
Property Value
Member of the SwapEffect enumerated type that indicates how buffers are swapped.
Remarks
The runtime guarantees the implied semantics concerning buffer swap behavior. So if Windowed is set to true and SwapEffect is set to Flip, the runtime creates one extra back buffer and copies whichever buffer becomes the front buffer at presentation time.
The Copy setting requires that BackBufferCount be set to 1. This setting is enforced in the debug runtime, which fills any buffer with noise after it is presented.
.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