summaryrefslogtreecommitdiff
path: root/src/renderer/render_backend.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-31 22:08:05 +1100
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-03-31 22:08:05 +1100
commitb771fc06a4339f466c0864ad896d5a96aee7e35d (patch)
treef667213fe01155e1ed56bc606a02e0f7c546fab5 /src/renderer/render_backend.h
parent1b4c27d514423c9e27a93742b8c8e9eb9f588e27 (diff)
adding image creation for textures
Diffstat (limited to 'src/renderer/render_backend.h')
-rw-r--r--src/renderer/render_backend.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/renderer/render_backend.h b/src/renderer/render_backend.h
index ea84b27..af62f9f 100644
--- a/src/renderer/render_backend.h
+++ b/src/renderer/render_backend.h
@@ -19,6 +19,7 @@ void gfx_backend_update_global_state(mat4 projection, mat4 view, vec3 view_pos,
void clear_screen(vec3 colour);
+void texture_data_upload(texture* tex);
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);