summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-06-16 23:47:57 -0400
committerrealtradam <[email protected]>2023-06-16 23:47:57 -0400
commit77337049740437d1f707018c862fc2d891f29abf (patch)
tree0bbda0e3eefa1b728cd946a236f3df401615bf17 /include
parent61040e044aca90960810783535d6e06056e69f60 (diff)
downloadRodeoKit-77337049740437d1f707018c862fc2d891f29abf.tar.gz
RodeoKit-77337049740437d1f707018c862fc2d891f29abf.zip
create interface for adding custom vertices and indices
Diffstat (limited to 'include')
-rw-r--r--include/rodeo/gfx.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/rodeo/gfx.h b/include/rodeo/gfx.h
index 74a5b87..5ca19b0 100644
--- a/include/rodeo/gfx.h
+++ b/include/rodeo/gfx.h
@@ -62,11 +62,23 @@ rodeo_gfx_rectangle_draw(
void
rodeo_gfx_vertex_add(rodeo_gfx_vertex_t vertex);
+uint16_t
+rodeo_gfx_vertex_size(void);
+
+uint16_t
+rodeo_gfx_vertex_maxSize(void);
+
void
rodeo_gfx_index_add(rodeo_gfx_index_t index);
rodeo_gfx_index_t
-rodeo_gfx_index_count(void);
+rodeo_gfx_index_count_get(void);
+
+void
+rodeo_gfx_index_count_increment(uint16_t amount);
+
+uint16_t
+rodeo_gfx_index_maxSize(void);
void
rodeo_gfx_texture_2d_draw(