diff options
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__ */ |