diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-14 22:11:43 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-14 22:11:43 +1100 |
commit | 253c90f7ceabff956260b40b69ec7ca55f91e710 (patch) | |
tree | 49e45764acab57368b4914bcb0fd77b6b1a1c862 /src/renderer/render_backend.h | |
parent | 2af96e3bc19fac5a3dc27f0eedff1b95ef1d473b (diff) | |
parent | 70308798adbaa376da97c9c0739d437fe76b8b36 (diff) |
Merge branch 'master' of github.com:omnisci3nce/celeritas-core
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 |