diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-23 20:02:34 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-23 20:03:18 +0300 |
commit | ff6e61f09ab2c86edef651fc38c242f5fefdd569 (patch) | |
tree | 37953109110777a79e7425aa6f35fa636fe8dadb /source/blender/draw/intern/draw_cache_impl.h | |
parent | be940fcd5f0f180a4700020ae2c24d46152c0801 (diff) |
DRW: Support Wireframe for metaball objects
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index 97e7cd240ff..9dc735807c0 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -82,6 +82,8 @@ void DRW_curve_batch_cache_get_wireframes_face_texbuf( /* Metaball */ struct GPUBatch *DRW_metaball_batch_cache_get_triangles_with_normals(struct Object *ob); struct GPUBatch **DRW_metaball_batch_cache_get_surface_shaded(struct Object *ob, struct MetaBall *mb, struct GPUMaterial **gpumat_array, uint gpumat_array_len); +void DRW_metaball_batch_cache_get_wireframes_face_texbuf( + struct Object *ob, struct GPUTexture **verts_data, struct GPUTexture **face_indices, int *tri_count); /* Curve (Font) */ struct GPUBatch *DRW_curve_batch_cache_get_overlay_cursor(struct Curve *cu); |