![]() |
![]() |
![]() |
PresentParameters.BackBufferWidth Property |
Language: |
Retrieves or sets the width of a swap chain's back buffers, in pixels.
Visual Basic .NET Public Property BackBufferWidth As Integer C# public int BackBufferWidth { get; set; } Managed C++ public: __property int get_BackBufferWidth();
public: __property void set_BackBufferWidth(int);JScript .NET public function get BackBufferWidth() : int
public function set BackBufferWidth(int);
System.Int32 . Width of the swap chain's back buffers, in pixels.
This property is read/write.
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.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center