Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Rood <dev@lucarood.com>2017-06-22 20:19:55 +0300
committerLuca Rood <dev@lucarood.com>2017-06-26 13:17:18 +0300
commitcbbfacdac09a6728ca3eb26e7e9269815db569d1 (patch)
treeafe89da604f1471d5e6337596657d3f1c8f14867 /source/blender/draw/intern/draw_cache.h
parent6f0b80425b8da760acf9909feba2b0988ddedada (diff)
Hair UV implementation for Eevee
This implements UV support for Eevee hair, enabling the usage of textures.
Diffstat (limited to 'source/blender/draw/intern/draw_cache.h')
-rw-r--r--source/blender/draw/intern/draw_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_cache.h b/source/blender/draw/intern/draw_cache.h
index a4fac3fe71f..857d4c60053 100644
--- a/source/blender/draw/intern/draw_cache.h
+++ b/source/blender/draw/intern/draw_cache.h
@@ -28,6 +28,7 @@
struct Gwn_Batch;
struct Object;
+struct ModifierData;
void DRW_shape_cache_free(void);
@@ -144,7 +145,7 @@ struct Gwn_Batch *DRW_cache_lattice_wire_get(struct Object *ob);
struct Gwn_Batch *DRW_cache_lattice_vert_overlay_get(struct Object *ob);
/* Particles */
-struct Gwn_Batch *DRW_cache_particles_get_hair(struct ParticleSystem *psys);
+struct Gwn_Batch *DRW_cache_particles_get_hair(struct ParticleSystem *psys, struct ModifierData *md);
struct Gwn_Batch *DRW_cache_particles_get_dots(struct ParticleSystem *psys);
struct Gwn_Batch *DRW_cache_particles_get_prim(int type);