Archived

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

All my Devices are Puredevices!! HELP!

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

First, Hi @all i have a Problem. After Enumerate my devices all Devices are Puredevices. But i have a GForce and i need Software Rasterizing for Vertex Shader and Hardware Rasterizing for normal Vertex Processing. WHAT CAN I DO??? Where i have to describe, that i want a MIXED Device? Help me plz! Cu

Share this post


Link to post
Share on other sites
The pure cap merely indicates that the device *can* be pure *IF* you ask it to...

PUREDEVICE is an *OPTIONAL* flag you can set when calling CreateDevice().

D3DCREATE_HARDWARE_VERTEXPROCESSING
D3DCREATE_MIXED_VERTEXPROCESSING
D3DCREATE_SOFTWARE_VERTEXPROCESSING

D3DCREATE_PUREDEVICE


Notice the difference between the above flags - the top 3 end with _VERTEXPROCESSING.

The PUREDEVICE flag is as optional as the MULTITHREADED device flag for example.


So on a GeForce you can simply specify D3DCREATE_MIXED_VERTEXPROCESSING, and *do not* specify PURE DEVICE and everything will work fine.

--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com

Share this post


Link to post
Share on other sites