diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2022-08-02 21:35:35 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2022-08-02 22:53:17 +0300 |
commit | 24a0015dbd8871636856dcd06cdf7eb48b01f684 (patch) | |
tree | 6dd04d66d4af842c3d95ad8c945047c3775a7396 /source/blender/draw/intern/draw_manager.h | |
parent | 9a52f1f72035ffdd40ef56e938dcb540086b3463 (diff) |
DRW: Add `DRW_shgroup_call_procedural_indirect()`
Replaces `DRW_shgroup_call_procedural_triangles_indirect`.
This makes the indirect drawing more flexible.
Not all primitive types are supported but it is just a matter of adding
them.
Diffstat (limited to 'source/blender/draw/intern/draw_manager.h')
-rw-r--r-- | source/blender/draw/intern/draw_manager.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_manager.h b/source/blender/draw/intern/draw_manager.h index 9e28169dcc4..411123f00bf 100644 --- a/source/blender/draw/intern/draw_manager.h +++ b/source/blender/draw/intern/draw_manager.h @@ -693,6 +693,7 @@ void drw_resource_buffer_finish(DRWData *vmempool); GPUBatch *drw_cache_procedural_points_get(void); GPUBatch *drw_cache_procedural_lines_get(void); GPUBatch *drw_cache_procedural_triangles_get(void); +GPUBatch *drw_cache_procedural_triangle_strips_get(void); void drw_uniform_attrs_pool_update(struct GHash *table, struct GPUUniformAttrList *key, |