Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_gpencil_modifier.h
| Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Lines | |||||
| /* Stores the maximum calculation range in the whole modifier stack for line art so the cache can | /* Stores the maximum calculation range in the whole modifier stack for line art so the cache can | ||||
| * cover everything that will be visible. */ | * cover everything that will be visible. */ | ||||
| typedef struct GpencilLineartLimitInfo { | typedef struct GpencilLineartLimitInfo { | ||||
| char min_level; | char min_level; | ||||
| char max_level; | char max_level; | ||||
| short edge_types; | short edge_types; | ||||
| } GpencilLineartLimitInfo; | } GpencilLineartLimitInfo; | ||||
| typedef struct LineartRelation { | |||||
| struct CollisionRelation *next, *prev; | |||||
| struct Object *ob; | |||||
| } LineartRelation; | |||||
| GpencilLineartLimitInfo BKE_gpencil_get_lineart_modifier_limits(const struct Object *ob); | GpencilLineartLimitInfo BKE_gpencil_get_lineart_modifier_limits(const struct Object *ob); | ||||
| void BKE_gpencil_set_lineart_modifier_limits(struct GpencilModifierData *md, | void BKE_gpencil_set_lineart_modifier_limits(struct GpencilModifierData *md, | ||||
| const struct GpencilLineartLimitInfo *info, | const struct GpencilLineartLimitInfo *info, | ||||
| bool is_first_lineart); | bool is_first_lineart); | ||||
| bool BKE_gpencil_is_first_lineart_in_stack(const struct Object *ob, | bool BKE_gpencil_is_first_lineart_in_stack(const struct Object *ob, | ||||
| const struct GpencilModifierData *md); | const struct GpencilModifierData *md); | ||||
| struct ListBase *BKE_lineart_relations_create(struct Depsgraph *depsgraph, | |||||
| struct Collection *collection, | |||||
| bool allow_duplicates); | |||||
| void BKE_lineart_relations_free(struct ListBase *relations); | |||||
| /** | /** | ||||
| * Init grease pencil cache deform data. | * Init grease pencil cache deform data. | ||||
| * \param ob: Grease pencil object | * \param ob: Grease pencil object | ||||
| */ | */ | ||||
| void BKE_gpencil_cache_data_init(struct Depsgraph *depsgraph, struct Object *ob); | void BKE_gpencil_cache_data_init(struct Depsgraph *depsgraph, struct Object *ob); | ||||
| /** | /** | ||||
| * Clear grease pencil cache deform data. | * Clear grease pencil cache deform data. | ||||
| ▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines | |||||