summaryrefslogtreecommitdiff
path: root/servers
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2019-06-08 17:10:52 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 11:53:26 +0100
commit1522d8c3ee6ddf43267f124940f4e43612058407 (patch)
tree1a52f80c51b5568f6d1fb7210476e7643f54a10f /servers
parentedb6966024850076fc201f1a4ba785fe972f16ed (diff)
Added support for push constants
Diffstat (limited to 'servers')
-rw-r--r--servers/visual/rendering_device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/rendering_device.h b/servers/visual/rendering_device.h
index 19fbd431ca..e24060dcdc 100644
--- a/servers/visual/rendering_device.h
+++ b/servers/visual/rendering_device.h
@@ -830,6 +830,7 @@ public:
virtual void draw_list_bind_uniform_set(ID p_list, ID p_uniform_set, uint32_t p_index) =0;
virtual void draw_list_bind_vertex_array(ID p_list, ID p_vertex_array) = 0;
virtual void draw_list_bind_index_array(ID p_list, ID p_index_array) = 0;
+ virtual void draw_list_set_push_constant(ID p_list, void *p_data,uint32_t p_data_size) =0;
virtual void draw_list_draw(ID p_list, bool p_use_indices, uint32_t p_instances=1) = 0;