Jump to content
  • Advertisement


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


Direct3D8, hardware caps

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

Greetz everyone and HNY. Is there a way in D3D8 to see how much VIDEO MEMORY the given adapter has and how much is free? I''ve been looking through SDK and it doesn''t seem to have any information ''bout that and it''s not returned in GetDeviceCaps. If D3D8 doesn''t provide that information, what are my alternatives? Thanx Lifepower

Share this post

Link to post
Share on other sites

Although D3D deliberately rounds the amount - it should only ever be used as a rough guide to decide whether to use high detail textures for example.

It''s not as simple as "how much free video memory is there" - some graphics cards such as the old 3Dfx ones have separate memory for textures, different to the memory for the frame buffer. Also you can''t use the figure to calculate how many surfaces you can create since video card drivers often need special alignment etc so a surface in video memory could take much more than simpy width*height*bytesperpixel

Simon O''''Connor
Creative Asylum Ltd

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!