discover users vram

Is there a way to poll a users machine to find out the amount of vram their video card has, or any other specs from their video card?

thanks, rob

I’ve made a little search on google but I don’t find anything related to java… I think you could do that with JNI… Or does someone knows how to do that in pure Java ? I would be interesting…

Chman

I think that is a really bad idea. Just because the video card has a given amount of video RAM to play with, does not mean that you’ll be able to use all of it, or even half of it. A lot of that memory will be taken up by various 2D and 3D drawing primitives (eg back buffer, front buffer, depth/accumulation/etc buffers). If you want to find out how much memory you have available to use, you should use texture proxy objects. They will give you a far better idea of how much memory you have to play with.