summaryrefslogtreecommitdiff
path: root/src/renderer/render_backend.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-09 16:34:46 +1100
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-09 16:34:46 +1100
commitc7fabc44e62152c877b565c1da27a2e1d6f584f3 (patch)
treebbbf35b596c611645eb2f3051ec718bb15721c91 /src/renderer/render_backend.h
parent91f5f362e4a4abd6840755500d8e2c84a50501ac (diff)
renderer functions necessary for model drawing
Diffstat (limited to 'src/renderer/render_backend.h')
-rw-r--r--src/renderer/render_backend.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h
index 61c7ab5..a524f7f 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