diff options
author | Luca Rood <dev@lucarood.com> | 2017-05-09 17:23:47 +0300 |
---|---|---|
committer | Luca Rood <dev@lucarood.com> | 2017-05-12 17:14:55 +0300 |
commit | 0eb32ab22809d9c0c41bfff5082f58b1a7aa9965 (patch) | |
tree | 8dc78f984f1d8c2bc48610708b08818e077a0436 /source/blender/draw/intern/draw_cache_impl.h | |
parent | bd31b1f182c946f98478d6de8db890e158bc62ec (diff) |
Implement hair drawing with Draw Manager in Clay engine
Part of T51378
Diffstat (limited to 'source/blender/draw/intern/draw_cache_impl.h')
-rw-r--r-- | source/blender/draw/intern/draw_cache_impl.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/draw/intern/draw_cache_impl.h b/source/blender/draw/intern/draw_cache_impl.h index ddcc55fd85e..2363d097261 100644 --- a/source/blender/draw/intern/draw_cache_impl.h +++ b/source/blender/draw/intern/draw_cache_impl.h @@ -29,6 +29,7 @@ struct Batch; struct ListBase; struct CurveCache; +struct ParticleSystem; struct Curve; struct Lattice; @@ -44,6 +45,9 @@ void DRW_mesh_batch_cache_free(struct Mesh *me); void DRW_lattice_batch_cache_dirty(struct Lattice *lt, int mode); void DRW_lattice_batch_cache_free(struct Lattice *lt); +void DRW_particle_batch_cache_dirty(struct ParticleSystem *psys, int mode); +void DRW_particle_batch_cache_free(struct ParticleSystem *psys); + /* Curve */ struct Batch *DRW_curve_batch_cache_get_wire_edge(struct Curve *cu, struct CurveCache *ob_curve_cache); struct Batch *DRW_curve_batch_cache_get_normal_edge( @@ -85,4 +89,7 @@ struct Batch *DRW_mesh_batch_cache_get_overlay_loose_edges(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_overlay_loose_verts(struct Mesh *me); struct Batch *DRW_mesh_batch_cache_get_overlay_facedots(struct Mesh *me); +/* Particles */ +struct Batch *DRW_particles_batch_cache_get_hair(struct ParticleSystem *psys); + #endif /* __DRAW_CACHE_IMPL_H__ */ |