diff options
Diffstat (limited to 'source/blender/makesdna/DNA_gpencil_modifier_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_gpencil_modifier_types.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_gpencil_modifier_types.h b/source/blender/makesdna/DNA_gpencil_modifier_types.h index 0bd7e500044..40e4c65c4b8 100644 --- a/source/blender/makesdna/DNA_gpencil_modifier_types.h +++ b/source/blender/makesdna/DNA_gpencil_modifier_types.h @@ -883,11 +883,14 @@ typedef enum eLineArtGPencilModifierFlags { LRT_GPENCIL_USE_CACHE = (1 << 4), } eLineArtGPencilModifierFlags; -typedef enum eLineartGpencilMaterialMaskFlags { +typedef enum eLineartGpencilMaskSwitches { LRT_GPENCIL_MATERIAL_MASK_ENABLE = (1 << 0), /** When set, material mask bit comparisons are done with bit wise "AND" instead of "OR". */ LRT_GPENCIL_MATERIAL_MASK_MATCH = (1 << 1), -} eLineartGpencilMaterialMaskFlags; + LRT_GPENCIL_INTERSECTION_MATCH = (1 << 2), +} eLineartGpencilMaskSwitches; + +struct LineartCache; struct LineartCache; @@ -918,8 +921,11 @@ typedef struct LineartGpencilModifierData { float opacity; short thickness; - unsigned char material_mask_flags; /* eLineartGpencilMaterialMaskFlags */ + unsigned char mask_switches; /* eLineartGpencilMaskSwitches */ unsigned char material_mask_bits; + unsigned char intersection_mask; + + char _pad[7]; /** `0..1` range for cosine angle */ float crease_threshold; |