21 extern void (*gfx_clear)(float r, float g, float b);
22 extern void (*gfx_viewport)(int x, int y, int width, int height);
23 extern void (*gfx_zbuffer)(bool enable);
24 extern void (*gfx_cull_face)(Gfx_cull_face cf);
25 extern void (*gfx_reshape)(int width, int height);
26 extern void (*gfx_wireframe)(bool enable);
27 extern void (*gfx_swapbuffers)();
28 extern void (*gfx_begin_drawing)();
29 extern void (*gfx_end_drawing)();
31 bool gfx_init(Gfx_API api);
34 Mesh *gfx_create_mesh();
35 Texture *gfx_create_texture();
36 ShaderProgram *gfx_create_shader_program();
37 Shader *gfx_create_shader();
38 UniformBuffer *gfx_create_uniform_buffer();
40 char *gfx_get_shader_path();