Blender V5.3
BKE_grease_pencil_modifiers.h
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
9
10#include "DNA_grease_pencil_modifier_types.h" /* Needed for all enum type definitions. */
11#include "DNA_listBase.h"
12
13#include "BKE_lib_query.hh" /* For LibraryForeachIDCallbackFlag enum. */
14
15namespace blender {
16
17struct BlendDataReader;
19struct ID;
20struct Object;
21/* NOTE: bake_modifier() called from UI:
22 * needs to create new data-blocks, hence the need for this. */
23
24typedef void (*GreasePencilIDWalkFunc)(void *user_data,
25 struct Object *ob,
26 struct ID **idpoin,
28
40
49 void *user_data);
50
52 ListBaseT<GpencilModifierData> *lb,
53 struct Object *ob);
54
55} // namespace blender
These structs are the foundation for all linked lists in the library system.
BMesh Iterators.
void BKE_grease_pencil_modifier_free(struct GpencilModifierData *md)
void BKE_grease_pencil_modifier_blend_read_data(struct BlendDataReader *reader, ListBaseT< GpencilModifierData > *lb, struct Object *ob)
void(*) GreasePencilIDWalkFunc(void *user_data, struct Object *ob, struct ID **idpoin, LibraryForeachIDCallbackFlag cb_flag)
void BKE_grease_pencil_modifier_free_ex(struct GpencilModifierData *md, int flag)
void BKE_grease_pencil_modifiers_foreach_ID_link(struct Object *ob, GreasePencilIDWalkFunc walk, void *user_data)
LibraryForeachIDCallbackFlag