Macaw OS C reference

Function glrinfonumber

#include <macaw3d.h>
double glrinfonumber(const char *field);

Gets one fact about the graphics card as a number.

Parameters

fieldconst char *
Which fact: "depthbits", "maxtexture" (the biggest texture it takes), "multitexture" or "cubemap" (yes or no), or how its memory is split: "texturebytes", "lightmapbytes" or "screenbytes".

Returns double

The number, 1 or 0 for yes-or-no facts, and 0 for an unknown field or with no graphics card.

In The graphics card, with glrpresent, cubemaps, glrvram, glrinfotext.