Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_paint.h
| Show First 20 Lines • Show All 214 Lines • ▼ Show 20 Lines | typedef struct SculptSession { | ||||
| struct StrokeCache *cache; | struct StrokeCache *cache; | ||||
| 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; | ||||
| unsigned int *previous_accum; | |||||
| } vpaint; | } vpaint; | ||||
| struct { | struct { | ||||
| struct SculptVertexPaintGeomMap gmap; | struct SculptVertexPaintGeomMap gmap; | ||||
| /* Vertex aligned arrays of weights. */ | /* Vertex aligned arrays of weights. */ | ||||
| /* For non-airbrush painting to re-apply from the original. */ | /* For non-airbrush painting to re-apply from the original. */ | ||||
| float *previous_weight; | float *previous_weight; | ||||
| Show All 30 Lines | |||||