Blender V4.5
ED_geometry.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2020 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include <string>
12
14#include "BLI_string_ref.hh"
15
17
18#include "BKE_screen.hh"
19
20struct ReportList;
21struct PointerRNA;
22struct PropertyRNA;
23class AttributeOwner;
24namespace blender::bke {
25enum class AttrDomain : int8_t;
27} // namespace blender::bke
31
32namespace blender::ed::geometry {
33
34/* -------------------------------------------------------------------- */
40
45 const eCustomDataType type,
46 void *buffer);
48bool attribute_set_poll(bContext &C, const ID &object_data);
49
51
53
62 StringRef name,
63 bke::AttrDomain dst_domain,
64 eCustomDataType dst_type,
66
68 std::string node_group_name;
69 std::unique_ptr<nodes::geo_eval_log::GeoNodesLog> log;
70
71 GeoOperatorLog() = default;
73};
74
76
79
81
83 const bContext &C,
84 StringRef catalog_path);
86
87} // namespace blender::ed::geometry
#define C
Definition RandGen.cpp:29
ReportList * reports
Definition WM_types.hh:1025
GPointer rna_property_for_attribute_type_retrieve_value(PointerRNA &ptr, const eCustomDataType type, void *buffer)
StringRefNull rna_property_name_for_type(const eCustomDataType type)
MenuType node_group_operator_assets_menu_unassigned()
const GeoOperatorLog & node_group_operator_static_eval_log()
void register_rna_properties_for_attribute_types(StructRNA &srna)
void rna_property_for_attribute_type_set_value(PointerRNA &ptr, PropertyRNA &prop, const GPointer value)
bool attribute_set_poll(bContext &C, const ID &object_data)
void ui_template_node_operator_asset_menu_items(uiLayout &layout, const bContext &C, const StringRef catalog_path)
PropertyRNA * rna_property_for_type(PointerRNA &ptr, const eCustomDataType type)
void ui_template_node_operator_asset_root_items(uiLayout &layout, const bContext &C)
bool convert_attribute(AttributeOwner &owner, bke::MutableAttributeAccessor attributes, const StringRef name, const bke::AttrDomain dst_domain, const eCustomDataType dst_type, ReportList *reports)
Definition DNA_ID.h:404
std::unique_ptr< nodes::geo_eval_log::GeoNodesLog > log
PointerRNA * ptr
Definition wm_files.cc:4227