X-Git-Url: http://git.mutantstargoat.com?p=demo;a=blobdiff_plain;f=src%2Fgfxapi.h;h=1e6cd2bd52c91b19b22f0a130af9e73f08119864;hp=d3dcd4d7d19b06f311692fde7b50a6c981525099;hb=d1a2cf93cf54898bb4ad442da94fc61f2617cf9f;hpb=713e854b6daf2ec0de8538be1e1eb385a213f36c diff --git a/src/gfxapi.h b/src/gfxapi.h index d3dcd4d..1e6cd2b 100644 --- a/src/gfxapi.h +++ b/src/gfxapi.h @@ -11,8 +11,16 @@ enum Gfx_API { GFX_VK }; +enum Gfx_cull_face { + GFX_CULL_NONE, + GFX_CULL_FRONT, + GFX_CULL_BACK +}; + extern void (*gfx_clear)(float r, float g, float b); extern void (*gfx_viewport)(int x, int y, int width, int height); +extern void (*gfx_zbuffer)(bool enable); +extern void (*gfx_cull_face)(Gfx_cull_face cf); bool gfx_init(Gfx_API api); void gfx_cleanup();