56#include "RNA_prototypes.hh"
71#include <fmt/format.h>
168 std::array<float2, NODE_LINK_RESOL + 1> coords;
203 if (path.
size() >= 256) {
215 ntree.ensure_topology_cache();
216 const Vector<bNode *> frame_nodes = ntree.nodes_by_type(
"NodeFrame"_ustr);
225 int intersection_count = 0;
238 from_cuts.
links.add(&link, *cut);
239 intersection_count++;
242 for (
const auto item : cuts_per_socket.
items()) {
247 if (intersection_count == 1) {
252 ntree, *item.value.from_node, *item.key, *reroute, *reroute->
inputs.first());
259 [](
const bNodeLink *link) { return link->is_muted(); }));
269 const float2 insert_point = std::accumulate(
291 ot->
name =
"Add Reroute";
292 ot->
idname =
"NODE_OT_add_reroute";
323 if (node_group.
type != node_tree.
type) {
327 const char *disabled_hint =
nullptr;
332 "Cannot add node group '%s' to '%s':\n %s",
340 "Cannot add node group '%s' to '%s'",
369 if (node_idname[0] ==
'\0') {
386 group_node->
id = &node_group->
id;
405 C,
"Adding node groups isn't supported for custom (Python defined) node trees");
419 C,
"Adding node groups isn't supported for custom (Python defined) node trees");
425 if (selected_nodes.
size() <= 0) {
453 ot->
name =
"Add Node Group";
454 ot->
description =
"Add an existing node group to the current node editor";
455 ot->
idname =
"NODE_OT_add_group";
468 ot->
srna,
"show_datablock_in_node",
true,
"Show the data-block selector in the node",
"");
513 group_node->
id = &node_group->
id;
590 if (node_idname[0] ==
'\0') {
615 const std::string setting_value = fmt::format(
"bpy.data.node_groups[{}]", node_group_index);
659 ot->
name =
"Add Node Group Asset";
660 ot->
description =
"Add a node group asset to the active node tree";
661 ot->
idname =
"NODE_OT_add_group_asset";
674 ot->
name =
"Swap Node Group Asset";
675 ot->
description =
"Swap selected nodes with the specified node group asset";
676 ot->
idname =
"NODE_OT_swap_group_asset";
760 ot->
name =
"Add Node Object";
761 ot->
description =
"Add an object info node to the current node editor";
762 ot->
idname =
"NODE_OT_add_object";
797 if (!collection_node) {
810 socket_data->
value = collection;
850 ot->
name =
"Add Node Collection";
851 ot->
description =
"Add a collection info node to the current node editor";
852 ot->
idname =
"NODE_OT_add_collection";
881 "CompositorNodeTree",
900 const float node_stack_anim_duration = 0.25f;
901 const float duration =
float(
data->anim_timer->time_duration);
902 const float prev_duration = duration -
float(
data->anim_timer->time_delta);
903 const float clamped_duration =
math::min(duration, node_stack_anim_duration);
904 const float delta_factor =
910 float stack_offset = 0.0f;
913 node->location[1] -= stack_offset;
914 stack_offset += (
node->runtime->draw_bounds.ymax -
node->runtime->draw_bounds.ymin) *
924 if (duration > node_stack_anim_duration) {
963 for (
const std::string &path : paths) {
1012 if (
nodes.is_empty()) {
1028 if (
nodes.size() == 1) {
1050 "Could not add image. A node tree has not been created or assigned");
1075 ot->
name =
"Add Image as Node";
1076 ot->
description =
"Add a image/movie file as node to the current node editor";
1077 ot->
idname =
"NODE_OT_add_image";
1143 ot->
name =
"Add Mask Node";
1144 ot->
description =
"Add a mask node to the current node editor";
1145 ot->
idname =
"NODE_OT_add_mask";
1179 if (!material_node) {
1184 material_node->
id = &material->id;
1220 ot->
name =
"Add Material";
1221 ot->
description =
"Add a material node to the current node editor";
1222 ot->
idname =
"NODE_OT_add_material";
1253 if (is_geometry_tree && path.endswith(
".csv")) {
1256 else if (is_geometry_tree && path.endswith(
".obj")) {
1259 else if (is_geometry_tree && path.endswith(
".ply")) {
1262 else if (is_geometry_tree && path.endswith(
".spz")) {
1265 else if (is_geometry_tree && path.endswith(
".stl")) {
1268 else if (path.endswith(
".txt")) {
1271 else if (is_geometry_tree && path.endswith(
".vdb")) {
1279 STRNCPY(socket_data->value, path.c_str());
1297 data->nodes = std::move(new_nodes);
1336 ot->
name =
"Add Import Node";
1337 ot->
description =
"Add an import node to the node tree";
1338 ot->
idname =
"NODE_OT_add_import_node";
1350 ot->
srna,
"directory",
nullptr,
FILE_MAX,
"Directory",
"Directory of the file");
1365 bool panels_with_header_unselected)
1373 auto *node_socket =
node->output_by_identifier(
UString(socket->identifier));
1381 bool panel_selection_ignored = panels_with_header_unselected &&
1382 interface_panel->header_toggle_socket();
1384 for (
auto *sub_item : interface_panel->items()) {
1406 if (only_selected) {
1409 !all_panel_contents);
1412 group_input_node->output_by_identifier(
"__extend__"_ustr)->
flag |=
SOCK_HIDDEN;
1448 for (
const auto *sub_item : panel.items()) {
1483 ot->
name =
"Add Group Input Node";
1484 ot->
description =
"Add a Group Input node with selected sockets to the current node editor";
1485 ot->
idname =
"NODE_OT_add_group_input_node";
1495 "only_selected_sockets",
1497 "Only Selected Sockets",
1498 "Include only selected sockets/panels in the added group input node");
1502 "all_panel_contents",
1504 "All Panel Contents",
1505 "Include sockets in all selected panels, even if they have a panel toggle");
1606 ot->
name =
"Add Color";
1607 ot->
description =
"Add a color node to the current node editor";
1608 ot->
idname =
"NODE_OT_add_color";
1619 ot->
srna,
"color", 4,
nullptr, 0.0,
FLT_MAX,
"Color",
"Source color", 0.0, 1.0);
1621 ot->
srna,
"gamma",
false,
"Gamma Corrected",
"The source color is gamma corrected");
1623 ot->
srna,
"has_alpha",
false,
"Has Alpha",
"The source color contains an Alpha component");
1649 const char *treename;
1669 treename = treename_buf;
1673 treename = type->
ui_name.c_str();
1695 ot->
name =
"New Node Tree";
1696 ot->
idname =
"NODE_OT_new_node_tree";
1748 ot->
name =
"New Compositing Node Group";
1749 ot->
idname =
"NODE_OT_new_compositing_node_group";
1751 "Create a new compositing node group and initialize it with default nodes. Deprecated and "
1752 "will be removed in 6.0";
1775 if (source_node_tree ==
nullptr) {
1795 if (strip ==
nullptr) {
1811 ot->
name =
"New Compositing Node Group";
1812 ot->
idname =
"NODE_OT_duplicate_compositing_modifier_node_group";
1813 ot->
description =
"Duplicate the currently assigned compositing node group.";
1829 int effect_input_count)
1836 if (effect_input_count == 2) {
1842 else if (effect_input_count == 1) {
1872 *output_node->
inputs.first());
1887 int effect_input_count = 0;
1888 if (is_effect_active) {
1889 effect_input_count = (strip->input1 && strip->input2) ? 2 : (strip->input1 ? 1 : 0);
1899 if (!is_effect_active) {
1910 bool assigned_node_tree =
false;
1916 assigned_node_tree =
true;
1929 assigned_node_tree =
true;
1932 if (assigned_node_tree) {
1951 operator_type->
name =
"New Compositor Sequencer Node Group";
1952 operator_type->
idname =
"NODE_OT_new_compositor_sequencer_node_group";
1953 operator_type->
description =
"Create a new compositor node group for sequencer";
1961 DATA_(
"Sequencer Compositor Nodes"),
Main runtime representation of an asset.
#define IMA_SIGNAL_RELOAD
#define GEO_NODE_OBJECT_INFO
#define SH_NODE_TEX_IMAGE
#define SH_NODE_TEX_ENVIRONMENT
#define GEO_NODE_IMAGE_TEXTURE
#define GEO_NODE_INPUT_MATERIAL
#define GEO_NODE_COLLECTION_INFO
#define STRNCPY_UTF8(dst, src)
Object groups, one object can be in many groups at once.
Read Blender memory allocation and freeing.
#define RNA_BEGIN(sptr, itemptr, propname)
#define BLI_assert_unreachable()
constexpr IndexRange drop_back(int64_t n) const
constexpr IndexRange()=default
SubIterator begin() const
Value & lookup_or_add_default(const Key &key)
ValueIterator values() const &
KeyIterator keys() const &
ItemIterator items() const &
constexpr IndexRange index_range() const
const char * c_str() const
void append(const T &value)
const T & last(const int64_t n=0) const
IndexRange index_range() const
void node_attach_node(bNodeTree &ntree, bNode &node, bNode &parent)
bNodeTreeType * node_tree_type_find(StringRef idname)
void node_tag_update_id(bNode &node)
void node_update_asset_metadata(bNodeTree &node_tree)
bool node_group_poll(const bNodeTree *nodetree, const bNodeTree *grouptree, const char **r_disabled_hint)
bNode * node_add_node(const bContext *C, bNodeTree &ntree, UString idname, std::optional< int > unique_identifier=std::nullopt)
bool node_set_selected(bNode &node, bool select)
bNode * node_add_static_node(const bContext *C, bNodeTree &ntree, int type)
bNodeLink & node_add_link(bNodeTree &ntree, bNode &fromnode, bNodeSocket &fromsock, bNode &tonode, bNodeSocket &tosock)
bNodeTree * node_tree_add_tree(Main *bmain, StringRef name, StringRef idname)
void node_link_set_mute(bNodeTree &ntree, bNodeLink &link, const bool muted)
bNodeSocket * node_find_socket(bNode &node, eNodeSocketInOut in_out, UString identifier)
void node_set_active(bNodeTree &ntree, bNode &node)
void node_unique_name(bNodeTree &ntree, bNode &node)
ID * asset_local_id_ensure_imported(Main &bmain, const asset_system::AssetRepresentation &asset, int flags=0, const std::optional< eAssetImportMethod > import_method=std::nullopt, const std::optional< ImportInstantiateContext > instantiate_context=std::nullopt, ReportList *reports=nullptr)
void operator_asset_reference_props_register(StructRNA &srna)
const asset_system::AssetRepresentation * operator_asset_reference_props_get_asset_from_all_library(const bContext &C, PointerRNA &ptr, ReportList *reports)
Vector< std::string > paths_from_operator_properties(PointerRNA *ptr)
void NODE_OT_add_group_input_node(wmOperatorType *ot)
void NODE_OT_add_object(wmOperatorType *ot)
static bool node_add_material_poll(bContext *C)
static wmOperatorStatus node_add_group_exec(bContext *C, wmOperator *op)
void NODE_OT_add_mask(wmOperatorType *ot)
static bool node_add_object_poll(bContext *C)
static wmOperatorStatus add_reroute_exec(bContext *C, wmOperator *op)
bNode * add_static_node(const bContext &C, int type, const float2 &location)
static wmOperatorStatus node_add_color_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus node_add_mask_exec(bContext *C, wmOperator *op)
static bool node_add_image_poll(bContext *C)
static bool node_add_group_poll(bContext *C)
void NODE_OT_add_reroute(wmOperatorType *ot)
static wmOperatorStatus node_add_collection_invoke(bContext *C, wmOperator *op, const wmEvent *event)
bool node_deselect_all(bNodeTree &node_tree)
void NODE_OT_new_compositing_node_group(wmOperatorType *ot)
static wmOperatorStatus node_add_import_node_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void NODE_OT_add_collection(wmOperatorType *ot)
static void node_templateID_assign(bContext *C, bNodeTree *node_tree)
static wmOperatorStatus new_compositing_node_group_exec(bContext *C, wmOperator *op)
static wmOperatorStatus node_add_group_input_node_exec(bContext *C, wmOperator *op)
void NODE_OT_add_group_asset(wmOperatorType *ot)
static wmOperatorStatus node_add_material_exec(bContext *C, wmOperator *op)
static void position_node_based_on_mouse(bNode &node, const float2 &location)
static bool node_add_color_poll(bContext *C)
static wmOperatorStatus node_add_collection_exec(bContext *C, wmOperator *op)
static wmOperatorStatus node_swap_group_asset_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void NODE_OT_swap_group_asset(wmOperatorType *ot)
static const EnumPropertyItem * new_node_tree_type_itemf(bContext *, PointerRNA *, PropertyRNA *, bool *r_free)
static bool contains_any_selected_input(const bNodeTreeInterfaceItem &item, bool parent_selected)
static bool node_add_import_node_poll(bContext *C)
static wmOperatorStatus new_compositing_node_group_invoke(bContext *C, wmOperator *op, const wmEvent *)
static bNodeTree * new_node_tree_impl(bContext *C, StringRef treename, StringRef idname)
void NODE_OT_add_color(wmOperatorType *ot)
static wmOperatorStatus node_add_group_asset_invoke(bContext *C, wmOperator *op, const wmEvent *event)
bNode * add_node(const bContext &C, const UString idname, const float2 &location)
static wmOperatorStatus node_add_material_invoke(bContext *C, wmOperator *op, const wmEvent *event)
UString node_group_idname(const bContext *C)
bool node_link_is_hidden_or_dimmed(const View2D &v2d, const bNodeLink &link)
static void initialize_compositor_sequencer_node_group(const bContext *C, bNodeTree &ntree, bool for_effect, int effect_input_count)
void tree_update(const bContext *C)
static wmOperatorStatus new_compositor_sequencer_node_group_exec(bContext *C, wmOperator *op)
std::optional< float2 > link_path_intersection(const bNodeLink &link, const Span< float2 > path)
VectorSet< bNode * > get_selected_nodes(bNodeTree &node_tree)
static bool node_swap_group_poll(bContext *C)
void NODE_OT_new_compositor_sequencer_node_group(wmOperatorType *operator_type)
static bool node_group_add_poll(const bNodeTree &node_tree, const bNodeTree &node_group, ReportList &reports)
static wmOperatorStatus duplicate_compositing_modifier_node_group_exec(bContext *C, wmOperator *)
static wmOperatorStatus node_add_object_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void node_link_bezier_points_evaluated(const bNodeLink &link, std::array< float2, NODE_LINK_RESOL+1 > &coords)
static bool node_add_mask_poll(bContext *C)
void NODE_OT_duplicate_compositing_modifier_node_group(wmOperatorType *ot)
static wmOperatorStatus node_add_object_exec(bContext *C, wmOperator *op)
static bool node_add_group_input_node_poll(bContext *C)
void NODE_OT_add_import_node(wmOperatorType *ot)
static std::string node_add_group_asset_get_description(bContext *C, wmOperatorType *, PointerRNA *ptr)
void NODE_OT_add_image(wmOperatorType *ot)
static wmOperatorStatus new_node_tree_exec(bContext *C, wmOperator *op)
void NODE_OT_add_group(wmOperatorType *ot)
static wmOperatorStatus node_add_nodes_modal(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus node_add_color_exec(bContext *C, wmOperator *op)
static bool node_add_collection_poll(bContext *C)
static wmOperatorStatus node_add_import_node_exec(bContext *C, wmOperator *op)
static wmOperatorStatus duplicate_and_assign_node_tree(bContext *C, bNodeTree *source_node_tree)
static wmOperatorStatus node_add_group_input_node_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus node_add_group_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void NODE_OT_add_material(wmOperatorType *ot)
static wmOperatorStatus node_add_image_invoke(bContext *C, wmOperator *op, const wmEvent *event)
static wmOperatorStatus node_add_image_exec(bContext *C, wmOperator *op)
void NODE_OT_new_node_tree(wmOperatorType *ot)
static void hide_unselected_sockets(bNode *node, bNodeTreeInterfaceItem *item, bool panels_with_header_unselected)
static bool add_node_group_asset(const bContext &C, const asset_system::AssetRepresentation &asset, ReportList &reports)
T min(const T &a, const T &b)
void node_tree_composit_default_init(const bContext *C, bNodeTree *ntree)
void relations_invalidate_cache(Scene *scene, Strip *strip)
void modifier_persistent_uid_init(const Strip &strip, StripModifierData &smd)
Strip * select_active_get(const Scene *scene)
StripModifierData * modifier_new(Strip *strip, const char *name, eStripModifierType type)
void strip_lookup_invalidate(const Editing *ed)
StripModifierData * modifier_get_active(const Strip *strip)
void view2d_region_to_view(const View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) ATTR_NONNULL()
void context_active_but_prop_get_templateID(const bContext *C, PointerRNA *r_ptr, PropertyRNA **r_prop)
ID * WM_operator_drop_load_path(bContext *C, wmOperator *op, const short idcode)
@ COMPOSIT_NODE_ASSET_STRIP_MODIFIER
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void RNA_def_enum_funcs(PropertyRNA *prop, EnumPropertyItemFunc itemfunc)
Vector< PointerRNA > CTX_data_collection_get(const bContext *C, const char *member)
char * STRNCPY(char(&dst)[N], const char *src)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
Scene * CTX_data_sequencer_scene(const bContext *C)
PropertyRNA * RNA_struct_find_property(PointerRNA *ptr, const char *identifier)
void RNA_property_update(bContext *C, PointerRNA *ptr, PropertyRNA *prop)
bool BLI_rctf_isect_pt_v(const struct rctf *rect, const float xy[2])
void RNA_property_pointer_set(PointerRNA *ptr, PropertyRNA *prop, PointerRNA ptr_value, ReportList *reports)
void WM_operator_properties_id_lookup(wmOperatorType *ot, const bool add_name_prop)
void BKE_ntree_update_tag_link_changed(bNodeTree *ntree)
void BKE_id_free_us(Main *bmain, void *idv) ATTR_NONNULL()
wmOperatorStatus WM_operator_filesel(bContext *C, wmOperator *op, const wmEvent *)
void BKE_ntree_update_tag_socket_property(bNodeTree *ntree, bNodeSocket *socket)
bool RNA_property_enum_identifier(bContext *C, PointerRNA *ptr, PropertyRNA *prop, const int value, const char **r_identifier)
void BKE_image_signal(Main *bmain, Image *ima, ImageUser *iuser, int signal)
PointerRNA RNA_id_pointer_create(ID *id)
PropertyRNA * RNA_def_float_color(StructOrFunctionRNA *cont_, const char *identifier, const int len, const float *default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
void WM_operator_properties_free(PointerRNA *ptr)
ID * WM_operator_properties_id_lookup_from_name_or_session_uid(Main *bmain, PointerRNA *ptr, const ID_Type type)
void ED_node_set_active(Main *bmain, SpaceNode *snode, bNodeTree *ntree, bNode *node, bool *r_active_texture_changed)
void RNA_string_set(PointerRNA *ptr, const char *name, const char *value)
int RNA_property_enum_get(PointerRNA *ptr, PropertyRNA *prop)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, const int default_value, const char *ui_name, const char *ui_description)
PointerRNA WM_operator_properties_create_ptr(wmOperatorType *ot)
bool ED_operator_node_editable(bContext *C)
int isect_seg_seg_v2_point(const float v0[2], const float v1[2], const float v2[2], const float v3[2], float r_vi[2])
float BLI_easing_cubic_ease_in_out(float time, float begin, float change, float duration)
PropertyRNA * RNA_def_string_dir_path(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, const int maxlen, const char *ui_name, const char *ui_description)
wmWindow * CTX_wm_window(const bContext *C)
PropertyRNA * RNA_def_collection_runtime(StructOrFunctionRNA *cont, const char *identifier, StructRNA *type, const char *ui_name, const char *ui_description)
const char * BKE_id_name(const ID &id)
void ED_region_tag_redraw(ARegion *region)
@ NODE_INTERFACE_PANEL_SELECT
void WM_operator_properties_filesel(wmOperatorType *ot, const int filter, const short type, const eFileSel_Action action, const eFileSel_Flag flag, const short display, const short sort)
void WM_gesture_lines_cancel(bContext *C, wmOperator *op)
wmOperatorStatus WM_gesture_lines_modal(bContext *C, wmOperator *op, const wmEvent *event)
void ED_preview_kill_jobs(wmWindowManager *wm, Main *bmain)
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
wmOperatorStatus WM_gesture_lines_invoke(bContext *C, wmOperator *op, const wmEvent *event)
void CTX_wm_operator_poll_msg_set(bContext *C, const char *msg)
VecBase< float, 2 > float2
void RNA_property_string_set(PointerRNA *ptr, PropertyRNA *prop, const char *value)
void BKE_report(ReportList *reports, eReportType type, const char *message)
BMesh const char void * data
wmWindowManager * CTX_wm_manager(const bContext *C)
BLI_INLINE void IMB_colormanagement_srgb_to_scene_linear_v3(float scene_linear[3], const float srgb[3])
void BKE_main_ensure_invariants(Main &bmain, std::optional< Span< ID * > > modified_ids=std::nullopt)
bool WM_operator_properties_id_lookup_is_set(PointerRNA *ptr)
void BKE_ntree_update_after_single_tree_change(Main &bmain, bNodeTree &modified_tree, const NodeTreeUpdateExtraParams ¶ms={})
bool RNA_struct_property_is_set(PointerRNA *ptr, const char *identifier)
SpaceNode * CTX_wm_space_node(const bContext *C)
@ SEQ_COMP_MOD_HIDE_DATABLOCK_SELECTOR
bool RNA_boolean_get(PointerRNA *ptr, const char *name)
const EnumPropertyItem rna_enum_dummy_NULL_items[]
void WM_event_add_notifier(const bContext *C, uint type, void *reference)
wmOperatorType * WM_operatortype_find(const char *idname, bool quiet)
wmEventHandler_Op * WM_event_add_modal_handler(bContext *C, wmOperator *op)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_ntree_update_tag_node_property(bNodeTree *ntree, bNode *node)
Main * CTX_data_main(const bContext *C)
wmOperatorStatus WM_operator_name_call_ptr(bContext *C, wmOperatorType *ot, wm::OpCallContext context, PointerRNA *properties, const wmEvent *event)
const EnumPropertyItem * rna_node_tree_type_itemf(void *data, bool(*poll)(void *data, bke::bNodeTreeType *), bool *r_free)
void BKE_id_move_to_same_lib(Main &bmain, ID &id, const ID &owner_id)
void DEG_relations_tag_update(Main *bmain)
void WM_event_timer_remove(wmWindowManager *wm, wmWindow *, wmTimer *timer)
MINLINE void copy_v4_v4(float r[4], const float a[4])
@ OPTYPE_DEPENDS_ON_CURSOR
@ NODE_INTERFACE_SOCKET_SELECT
@ NODE_INTERFACE_SOCKET_OUTPUT
@ NODE_INTERFACE_SOCKET_INPUT
std::string RNA_string_get(PointerRNA *ptr, const char *name)
ID * BKE_id_copy_ex(Main *bmain, const ID *id, ID **new_id_p, int flag)
wmTimer * WM_event_timer_add(wmWindowManager *wm, wmWindow *win, const wmEventType event_type, const double time_step)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
@ eSeqModifierType_Compositor
void RNA_collection_add(PointerRNA *ptr, const char *name, PointerRNA *r_value)
ARegion * CTX_wm_region(const bContext *C)
bool RNA_property_is_set(PointerRNA *ptr, PropertyRNA *prop)
void RNA_float_get_array(PointerRNA *ptr, const char *name, float *values)
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
struct bNodeTree * node_group
ListBaseT< bNodeTree > nodetrees
SequencerCompositorModifierFlag flag
struct bNodeTree * node_group
eSpaceNode_ShaderFrom shaderfrom
struct bNodeTree * edittree
struct bNodeTree * nodetree
ed::space_node::SpaceNode_Runtime * runtime
struct Collection * value
NodeTreeInterfaceItemType item_type
NodeTreeInterfaceSocketFlag flag
struct CompositorNodeAssetTraits * compositor_node_asset_traits
ListBaseT< bNodeLink > links
int default_group_node_width
bNodeTreeInterface tree_interface
ListBaseT< bNodeSocket > outputs
bke::bNodeRuntime * runtime
ListBaseT< bNodeSocket > inputs
Map< bNodeLink *, float2 > links
wmOperatorStatus(*) exec(bContext *C, wmOperator *op) ATTR_WARN_UNUSED_RESULT
void(*) cancel(bContext *C, wmOperator *op)
bool(*) poll(bContext *C) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) invoke(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
wmOperatorStatus(*) modal(bContext *C, wmOperator *op, const wmEvent *event) ATTR_WARN_UNUSED_RESULT
std::string(*) get_description(bContext *C, wmOperatorType *ot, PointerRNA *ptr)
struct ReportList * reports