Sign in to follow this  
bartiss

Is it Retained or Immediate Mode?

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this