PresentParameters.BackBufferWidth Property

Language:

Retrieves or sets the width of a swap chain's back buffers, in pixels.

Definition

Visual Basic Public Property BackBufferWidth As Integer
C# public int BackBufferWidth { get; set; }
C++ public:
property int BackBufferWidth {
        int get();
        void set(int value);
}
JScript public function get BackBufferWidth() : int
public function set BackBufferWidth(int);

Property Value

System.Int32
Width of the swap chain's back buffers, in pixels.

This property is read/write. 

Remarks

If the Windowed property is false (that is, if the presentation is full-screen), the width must equal the width of one of the enumerated display modes found through the DisplayModeCollection. If Windowed is true and width is 0, the corresponding dimension of the client area of the DeviceWindow (or the focus window, if DeviceWindow is null) is taken.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center