Is it Retained or Immediate Mode?
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?
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.
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!
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement