diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-11-23 18:44:16 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-11-23 18:44:53 +0300 |
commit | 1ec21ed41a48ba41410edee229be06be82ccec2d (patch) | |
tree | 8761a0f5dbeb8cd76995fe0c4224955fb9d16ba8 /source/blender/draw/intern/draw_cache_impl.h | |
parent | 1cc7bcd8d8495e68160501d099defbb3986ba314 (diff) |
DRW: Support Wireframe for cruve/surface/text objects
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index 3805cccd9c0..97e7cd240ff 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -75,6 +75,9 @@ struct GPUBatch *DRW_curve_batch_cache_get_triangles_with_normals( struct GPUBatch **DRW_curve_batch_cache_get_surface_shaded( struct Curve *cu, struct CurveCache *ob_curve_cache, struct GPUMaterial **gpumat_array, uint gpumat_array_len); +void DRW_curve_batch_cache_get_wireframes_face_texbuf( + struct Curve *cu, struct CurveCache *ob_curve_cache, + struct GPUTexture **verts_data, struct GPUTexture **face_indices, int *tri_count); /* Metaball */ struct GPUBatch *DRW_metaball_batch_cache_get_triangles_with_normals(struct Object *ob); @@ -91,6 +94,7 @@ struct GPUIndexBuf **DRW_displist_indexbuf_calc_triangles_in_order_split_by_mate struct ListBase *lb, uint gpumat_array_len); struct GPUBatch **DRW_displist_batch_calc_tri_pos_normals_and_uv_split_by_material( struct ListBase *lb, uint gpumat_array_len); +struct GPUVertBuf *DRW_displist_create_edges_overlay_texture_buf(ListBase *lb); /* Lattice */ struct GPUBatch *DRW_lattice_batch_cache_get_all_edges(struct Lattice *lt, bool use_weight, const int actdef); |