![]() This extension is used in GPU Shark to get the memory usage for NVIDIA graphics cards as you can see in the following picture:Īccording to Geeks3D OpenGL extensions DB, GL_NVX_gpu_memory_info is available in NVIDIA display drivers since R196.xx (see R196.21).ĪMD has released two extensions to deal with the size of video memory: GlGetIntegerv(GL_GPU_MEM_INFO_CURRENT_AVAILABLE_MEM_NVX, #define GL_GPU_MEM_INFO_CURRENT_AVAILABLE_MEM_NVX 0x9049 #define GL_GPU_MEM_INFO_TOTAL_AVAILABLE_MEM_NVX 0x9048 GL_NVX_gpu_memory_info returns sizes in KB. Here is a code snippet that shows how to use it. Thanks to GL_NVX_gpu_memory_info you can retrieve the size of the total available GPU memory and the size of the current available GPU memory. ![]() NVIDIA has recently published the specs of a new extension called GL_NVX_gpu_memory_info. You’re an OpenGL developer and you need a simple way to know graphics memory information such as the memory size or memory usage? If so, this is the right place!įew years ago, this kind of information wasn’t available to OpenGL developers but today, the two majors in OpenGL (I mean NVIDIA and AMD/ATI) have added some useful extensions to fetch graphics card memory size and other related data.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |