summaryrefslogtreecommitdiff
path: root/video.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video.hpp')
-rw-r--r--video.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/video.hpp b/video.hpp
index 453423b..d524d81 100644
--- a/video.hpp
+++ b/video.hpp
@@ -169,12 +169,19 @@ struct Vertex_Buffer_Binding {
int target;
};
+struct Index_Buffer_Binding {
+ Buffer_Id id;
+ size_t offset;
+};
+
struct Draw {
Vertex_Buffer_Binding* verts;
+ Index_Buffer_Binding inds;
int vertex_count;
int instance_count;
int first_vertex;
int first_instance;
+ int vertex_offset;
};
struct Device;