Jump to content
  • Advertisement
Sign in to follow this  
SparkyFlooner

CheckDeviceType with D3DDEVTYPE_REF?

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

--noob alert-- I'm confused about what it takes to figure out hardware capabilities through Direct3D. For example: IDirect3D9::CheckDeviceType says it "Verifies wether a hardware accelerated device can be used on this adapter." - so one would think the only logical value to pass in as a device type would be D3DDEVTYPE_HAL, right? The return of D3D_OK says that "the device can be used on this adapter"...which muddies the explanation of CheckDeviceType. Is it used to check whether the desired device will have hardware support...or just if the combination of device type, formats, and window mode are available on the adapter? What does hardware acceleration mean for a device if the requested device type is anything other than D3DDEVTYPE_HAL? (...ps...I also posted this on 'Beginner' before seeing there was a DirectX specific forum. Ignore that one..)

Share this post


Link to post
Share on other sites
Advertisement
I found this....

http://www.gamedev.net/community/forums/topic.asp?topic_id=179557

...which suggests to me that the use of "hardware acceleration" in the method description refers to the hardware color conversion from the backbuffer format to the display format, which is important only in windowed mode.

...but the result of a call to EnumAdapterModes returns D3DERR_NOTAVAILABLE if the format is not supported by hardware ...??

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!