Removed ontop property, added a material rendering priority system. Fixes #9935, closes #10135

This commit is contained in:
Juan Linietsky 2017-09-01 12:56:52 -03:00
parent 6e9e25b41d
commit 8f30c52a37
15 changed files with 119 additions and 40 deletions

View file

@ -213,6 +213,7 @@ public:
virtual RID material_create() = 0;
virtual void material_set_render_priority(RID p_material, int priority) = 0;
virtual void material_set_shader(RID p_shader_material, RID p_shader) = 0;
virtual RID material_get_shader(RID p_shader_material) const = 0;