Function gpu_isenabled
#include <macawgpu.h>int gpu_isenabled(const char *cap);
Tells you whether a feature is switched on.
Parameters
capconst char *- The feature:
"depth_test","cull_face","lighting","fog"or"texture".
Returns int
1 if it's on, 0 if it's off.
In State, with gpu_enable, gpu_disable, gpu_depthmask, gpu_cullface, gpu_frontface, gpu_viewport, gpu_clearcolor, gpu_clear, gpu_reset.