Jump to content
  • Advertisement


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


confirm texture formats????

This topic is 5992 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 how would ou confirm texture surface formats that are supported by the video card. the IDirect3DDevice::CheckDeviceType(blah...) is only for backbuffer formats and surface formats that are supported....not for texture formats...so is there another function that specifically checks fror texture formats?? thanks all

Share this post

Link to post
Share on other sites
Well you can use IDirect3D8::GetAdapterModeCount to find the number of different display modes supported then use IDirect3D8::EnumAdapterModes() to find out what each of them are.
Then all you have dto do is look at the D3DFORMATs reported.

I know that theres some MS code that wraps this up in a nice window that lets you swap res etc but i''ll be dammed if i can find it now. Try having a look in the SDK.

Share this post

Link to post
Share on other sites

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