diff options
author | quou <quou@disroot.org> | 2024-12-28 18:21:11 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-28 18:21:11 +1100 |
commit | 86810460eed75c19beb9f524e75c193edfa9ddfd (patch) | |
tree | fffd415c9d051ad4e0f5578d14d72c7418cf6a9a /video.hpp | |
parent | d0b8f74f363095b00b46c32981078619a181a8b1 (diff) |
index buffers
Diffstat (limited to 'video.hpp')
-rw-r--r-- | video.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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; |