Project

General

Profile

Actions

$gfxram » History » Revision 3

« Previous | Revision 3/6 (diff) | Next »
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

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

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

Updated by Per Amundsen about 8 years ago · 3 revisions

Also available in: PDF HTML TXT