Jump to content
  • Advertisement
Sign in to follow this  
bartiss

Is it Retained or Immediate Mode?

This topic is 4995 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

Hi! I'm using a compilation of several tutorials and samples to initialize my 3D application. Here's some code: pd3d = Direct3DCreate8( D3D_SDK_VERSION ); ... PRESENTATION_PARAMETERS...etc. ... pd3d->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, hWnd, D3DCREATE_HARDWARE_VERTEXPROCESSING, &d3dpp, &pDev); What mode am I starting? I read about retained in a book and all the functions and methods had "RM" in their names. So is it immediate mode or something completely different?

Share this post


Link to post
Share on other sites
Advertisement
Retained mode is a very archaic mode; it's rarely used anymore. Immediate mode is what all the code examples you'll see these days use.

Share this post


Link to post
Share on other sites
So I guess I'm not archaic? Or am I? ;) The problem is I don't remember dates of the samples I used, but now I think it's the IM I'm using. Thanks!

Share this post


Link to post
Share on other sites
D3D8 is a bit archaic in itself ;)
If you can, switch to D3D9c as soon as possible. If you're stuck with Win98, though, there is a valid point in using the older version.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!