diff options
Diffstat (limited to 'src/renderer/render_backend.h')
-rw-r--r-- | src/renderer/render_backend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h index 61c7ab5..7e1c16c 100644 --- a/src/renderer/render_backend.h +++ b/src/renderer/render_backend.h @@ -12,4 +12,11 @@ void gfx_backend_shutdown(renderer* ren); void clear_screen(vec3 colour); +void bind_texture(shader s, texture* tex, u32 slot); +void bind_mesh_vertex_buffer(void* backend, mesh* mesh); +void draw_primitives(cel_primitive_topology primitive, u32 start_index, u32 count); + +shader shader_create_separate(const char* vert_shader, const char* frag_shader); +void set_shader(shader s); + // --- Uniforms |