• Advertisement

Archived

This topic is now archived and is closed to further replies.

Hardware vertex processing test?

This topic is 5517 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 all, Is there a possibility to test if your video card support D3DCREATE_HARDWARE_VERTEXPROCESSING? thx in advance.

Share this post


Link to post
Share on other sites
Advertisement
yah, here:

D3DCAPS8 Caps;

D3D->GetDeviceCaps(D3DADAPTER_DEFAULT, DEVICETYPE, &Caps);

bool TNL;
(Caps.DevCaps & D3DDEVCAPS_HWTRANSFORMANDLIGHT) ? TNL = 1 : TNL = 0;

Share this post


Link to post
Share on other sites

  • Advertisement