Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | typedef struct SculptSession { | ||||
| unsigned int texcache_side, *texcache, texcache_actual; | unsigned int texcache_side, *texcache, texcache_actual; | ||||
| struct ImagePool *tex_pool; | struct ImagePool *tex_pool; | ||||
| /* Layer brush persistence between strokes */ | /* Layer brush persistence between strokes */ | ||||
| float (*layer_co)[3]; /* Copy of the mesh vertices' locations */ | float (*layer_co)[3]; /* Copy of the mesh vertices' locations */ | ||||
| struct StrokeCache *cache; | struct StrokeCache *cache; | ||||
| int active_vertex_index; | |||||
| union { | union { | ||||
| struct { | struct { | ||||
| struct SculptVertexPaintGeomMap gmap; | struct SculptVertexPaintGeomMap gmap; | ||||
| /* For non-airbrush painting to re-apply from the original (MLoop aligned). */ | /* For non-airbrush painting to re-apply from the original (MLoop aligned). */ | ||||
| unsigned int *previous_color; | unsigned int *previous_color; | ||||
| } vpaint; | } vpaint; | ||||
| ▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines | |||||