diff options
author | Joshua Rowe <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-14 22:08:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 22:08:43 +1100 |
commit | 70308798adbaa376da97c9c0739d437fe76b8b36 (patch) | |
tree | 09836fab6ddc9012a5f4437f2139ab0a704b3a78 /src/renderer/render_backend.h | |
parent | a627f75cc956a463e3910a8f5f615932bad3a418 (diff) | |
parent | b240374c23365e33727d78ca74e901bcb383e077 (diff) |
Merge pull request #5 from omnisci3nce/cel-41-port-over-a-basic-3d-scene-example
CEL 41 port over a basic 3d scene example
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 |