Project

General

Profile

$gfxram » History » Version 1

Per Amundsen, 08/11/2015 06:08 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
*gfxram(N)*
10
11
Returns the amount of vram in megabytes from the Nth graphics card found.
12
13
*Parameters*
14
15
N - If N = 0, number of graphics cards, otherwise the Nth graphics card.
16
17
*Example*
18
19
<pre>
20
; Print number of graphics cards.
21
//echo -ag $gfxram(0)
22
23
; Print vram of the first graphics cards.
24
//echo -ag $gfxram(1)
25
</pre>