Jump to content
  • Advertisement
Sign in to follow this  
ammar26

How initialize Front Buffer Format ?

This topic is 3082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

In Creating a IDirect3DDevice9
Where we define the D3D-FORMAT of Front Buffer ?
I mean i could not find any where ...
When we fill D3DPRESENT_PARAMETERS structure we only define Back Buffer Format and when we use CreateDevice(...) function there is also no parameter to define the Format of Front Buffer ?
How we define that ?
Please Help me Im a Beginner ....

Share this post


Link to post
Share on other sites
Advertisement
You can't specify the format of the front buffer. In fullscreen mode, when the driver is using flip mode, the frontbuffer is the same format as the backbuffer, and in windowed mode when the driver uses copy mode, it's whatever format the display is in (Which is why some drivers restrict backbuffer formats to the same as the display format in windowed mode).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!