PresentParameters.BackBufferCount Property
Retrieves or sets the number of back buffers.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)
Syntax
'Declaration
Public Property BackBufferCount As Integer
'Usage
Dim instance As PresentParameters
Dim value As Integer
value = instance.BackBufferCount
instance.BackBufferCount = value
public int BackBufferCount { get; set; }
public:
property int BackBufferCount {
int get ();
void set (int value);
}
/** @property */
public int get_BackBufferCount ()
/** @property */
public void set_BackBufferCount (int value)
public function get BackBufferCount () : int
public function set BackBufferCount (value : int)
Property Value
Number of back buffers.
Remarks
This value can be 0, 1, 2, or 3. Zero is treated as 1. The method fails if one back buffer cannot be created. The value of BackBufferCount influences which set of swap effects is allowed; specifically, any Copy swap effect requires that there be exactly one back buffer.
.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