diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-22 18:43:48 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-22 18:44:01 +0300 |
commit | 5b87862ddca2cb1b9351a5e250e1743b7245f38b (patch) | |
tree | 53d6e591709d50bcf77ac444f2cb10c12c1874e9 /source/blender/draw/intern/draw_hair_private.h | |
parent | 8f05a547d539feb4a8da35ee15239fa46ff38083 (diff) |
Curves: Further split of curves draw code from particles
Extends the changes started in f31c3f8114616bb to completely separate
much of the DRW curves code from the particle hair drawing. In the short
term this increases duplication, but the idea is to simplify development
by making it easier to do larger changes to the new code, and the new
system will replace the particle hair at some point.
After this, only the shaders themselves are shared.
Differential Revision: https://developer.blender.org/D14699
Diffstat (limited to 'source/blender/draw/intern/draw_hair_private.h')
-rw-r--r-- | source/blender/draw/intern/draw_hair_private.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/draw/intern/draw_hair_private.h b/source/blender/draw/intern/draw_hair_private.h index 58e8609106b..c605a4c1587 100644 --- a/source/blender/draw/intern/draw_hair_private.h +++ b/source/blender/draw/intern/draw_hair_private.h @@ -75,7 +75,6 @@ typedef struct ParticleHairCache { int point_len; } ParticleHairCache; -void particle_batch_cache_clear_hair(struct ParticleHairCache *hair_cache); /** * Ensure all textures and buffers needed for GPU accelerated drawing. @@ -88,15 +87,6 @@ bool particles_ensure_procedural_data(struct Object *object, int subdiv, int thickness_res); -/** - * Ensure all textures and buffers needed for GPU accelerated drawing. - */ -bool curves_ensure_procedural_data(struct Object *object, - struct ParticleHairCache **r_hair_cache, - struct GPUMaterial *gpu_material, - int subdiv, - int thickness_res); - #ifdef __cplusplus } #endif |