Macaw OS C reference

Function gpu_cullface

#include <macawgpu.h>
void gpu_cullface(const char *side);

Picks which side of each triangle "cull_face" skips. It only matters while "cull_face" is on.

Parameters

sideconst char *
"back" (how it starts) to skip triangles facing away, or "front" to skip those facing you.

In State, with gpu_enable, gpu_disable, gpu_isenabled, gpu_depthmask, gpu_frontface, gpu_viewport, gpu_clearcolor, gpu_clear, gpu_reset.