$gfxram » History » Version 3
  Per Amundsen, 10/10/2016 12:56 AM 
  
| 1 | 1 | Per Amundsen | _Added in 1.6_  | 
|---|---|---|---|
| 2 | |||
| 3 | *$gfxram*  | 
||
| 4 | |||
| 5 | Returns the amount of vram in megabytes from the first graphics card found.  | 
||
| 6 | |||
| 7 | _Might not be the default graphics card._  | 
||
| 8 | |||
| 9 | 3 | Per Amundsen | _Windows seems to only report up to 4gb vram._  | 
| 10 | |||
| 11 | 2 | Per Amundsen | -----------------------------------------------------------------------------  | 
| 12 | |||
| 13 | 1 | Per Amundsen | *gfxram(N)*  | 
| 14 | |||
| 15 | Returns the amount of vram in megabytes from the Nth graphics card found.  | 
||
| 16 | 3 | Per Amundsen | |
| 17 | _Windows seems to only report up to 4gb vram._  | 
||
| 18 | 1 | Per Amundsen | |
| 19 | *Parameters*  | 
||
| 20 | |||
| 21 | N - If N = 0, number of graphics cards, otherwise the Nth graphics card.  | 
||
| 22 | |||
| 23 | *Example*  | 
||
| 24 | |||
| 25 | <pre>  | 
||
| 26 | ; Print number of graphics cards.  | 
||
| 27 | //echo -ag $gfxram(0)  | 
||
| 28 | |||
| 29 | ; Print vram of the first graphics cards.  | 
||
| 30 | //echo -ag $gfxram(1)  | 
||
| 31 | </pre>  |