Project

General

Profile

$gfxram » History » Revision 3

Revision 2 (Per Amundsen, 08/11/2015 10:52 AM) → Revision 3/6 (Per Amundsen, 10/10/2016 12:56 AM)

_Added in 1.6_ 

 *$gfxram* 

 Returns the amount of vram in megabytes from the first graphics card found. 

 _Might not be the default graphics card._ 

 _Windows seems to only report up to 4gb vram._ 

 ----------------------------------------------------------------------------- 

 *gfxram(N)* 

 Returns the amount of vram in megabytes from the Nth graphics card found. 

 _Windows seems to only report up to 4gb vram._ 

 *Parameters* 

 N - If N = 0, number of graphics cards, otherwise the Nth graphics card. 

 *Example* 

 <pre> 
 ; Print number of graphics cards. 
 //echo -ag $gfxram(0) 

 ; Print vram of the first graphics cards. 
 //echo -ag $gfxram(1) 
 </pre>