Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_modifier.h
| Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Lines | typedef enum ModifierApplyFlag { | ||||
| /** Result of evaluation will be cached, so modifier might | /** Result of evaluation will be cached, so modifier might | ||||
| * want to cache data for quick updates (used by subsurf) */ | * want to cache data for quick updates (used by subsurf) */ | ||||
| MOD_APPLY_USECACHE = 1 << 1, | MOD_APPLY_USECACHE = 1 << 1, | ||||
| /** Modifier evaluated for undeformed texture coordinates */ | /** Modifier evaluated for undeformed texture coordinates */ | ||||
| MOD_APPLY_ORCO = 1 << 2, | MOD_APPLY_ORCO = 1 << 2, | ||||
| /** Ignore scene simplification flag and use subdivisions | /** Ignore scene simplification flag and use subdivisions | ||||
| * level set in multires modifier. */ | * level set in multires modifier. */ | ||||
| MOD_APPLY_IGNORE_SIMPLIFY = 1 << 3, | MOD_APPLY_IGNORE_SIMPLIFY = 1 << 3, | ||||
| /** The effect of this modifier will be applied to the base mesh | |||||
| * The modifier itself will be removed from the modifier stack. | |||||
| * This flag can be checked to ignore rendering display data to the mesh. | |||||
| * See `OBJECT_OT_modifier_apply` operator. */ | |||||
| MOD_APPLY_TO_BASE_MESH = 1 << 4, | |||||
| } ModifierApplyFlag; | } ModifierApplyFlag; | ||||
| typedef struct ModifierUpdateDepsgraphContext { | typedef struct ModifierUpdateDepsgraphContext { | ||||
| struct Scene *scene; | struct Scene *scene; | ||||
| struct Object *object; | struct Object *object; | ||||
| struct DepsNodeHandle *node; | struct DepsNodeHandle *node; | ||||
| } ModifierUpdateDepsgraphContext; | } ModifierUpdateDepsgraphContext; | ||||
| ▲ Show 20 Lines • Show All 337 Lines • Show Last 20 Lines | |||||