Backbuffer resolution

Started by
3 comments, last by G-Man9566 12 years, 9 months ago
Hi,

When one adjusts a game's screen resolution (you know typically in the game's "Options->Graphics"), is it actually the BackBufferWidth and BackBufferHeight of the D3DPRESENT_PARAMETERS (D3D) for a device, that is being set?
Advertisement

Hi,

When one adjusts a game's screen resolution (you know typically in the game's "Options->Graphics"), is it actually the BackBufferWidth and BackBufferHeight of the D3DPRESENT_PARAMETERS (D3D) for a device, that is being set?


You will have to recreate the whole swap chain to change the resolution of a game, which can be done by recreating the device with the appropriate D3DPresent parameters. But generally it is nicer to just destroy your swap chain and recreated that as that wouldn't force you to reload assets that are created in the managed pool.

Worked on titles: CMR:DiRT2, DiRT 3, DiRT: Showdown, GRID 2, theHunter, theHunter: Primal, Mad Max, Watch Dogs: Legion

Thanks, but I actually want to know if the game's screen resolution is directly correlated to the backbuffer width and height of the present params?
Yes, usually.

Yes, usually.


Thx

This topic is closed to new replies.

Advertisement