Video RAM size determination from OpenGL App

Started by
2 comments, last by Jarred Capellman 19 years ago
Please suggest the easiest way to determine video card memory from OpenGL application. I mean initial memory installed on 3D card, not texture memory. Thank to all!
Advertisement
The video card specifications has something like, 64MB, 128MB, 256MB. This memory constitutes of the overall (vertices, texCoords, indices, normals, per-vertex attribs, texture memory, framebuffer memory, render-to-texture memory etc...) memory available inside the graphics card. So it is advised to make efficient use of this limited resource.

If your question is how to query how much memory is available on the graphics card from the OpenGL application at runtime, I don't think that is possible.
its not possible
also u have agp pci express etc muddying up the waters as well, not to mention antialaising, screensize etc
If you're using SDL:

const SDL_VideoInfo * VideoInfo = SDL_GetVideoInfo();
VideoInfo->video_mem (it's an unsigned integer of the number of bytes available)

This topic is closed to new replies.

Advertisement