Blender V5.0
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
16#include "BKE_screen.hh"
17
18struct ReportList;
19struct PointerRNA;
20struct PropertyRNA;
21class AttributeOwner;
22namespace blender::bke {
23enum class AttrDomain : int8_t;
24enum class AttrType : int16_t;
26} // namespace blender::bke
30
31namespace blender::ed::geometry {
32
33/* -------------------------------------------------------------------- */
39
44 const bke::AttrType type,
45 void *buffer);
47bool attribute_set_poll(bContext &C, const ID &object_data);
48
50
52
62 bke::AttrDomain dst_domain,
63 bke::AttrType dst_type,
64 ReportList *reports);
65
67 std::string node_group_name;
68 std::unique_ptr<nodes::geo_eval_log::GeoNodesLog> log;
69
70 GeoOperatorLog() = default;
72};
73
75
78
80
82 const bContext &C,
83 StringRef catalog_path);
85
86} // namespace blender::ed::geometry
#define C
Definition RandGen.cpp:29
PropertyRNA * rna_property_for_type(PointerRNA &ptr, const bke::AttrType type)
GPointer rna_property_for_attribute_type_retrieve_value(PointerRNA &ptr, const bke::AttrType type, void *buffer)
StringRefNull rna_property_name_for_type(const bke::AttrType 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)
bool convert_attribute(AttributeOwner &owner, bke::MutableAttributeAccessor attributes, const StringRef name, const bke::AttrDomain dst_domain, const bke::AttrType dst_type, ReportList *reports)
void ui_template_node_operator_asset_root_items(uiLayout &layout, const bContext &C)
const char * name
Definition DNA_ID.h:414
std::unique_ptr< nodes::geo_eval_log::GeoNodesLog > log
PointerRNA * ptr
Definition wm_files.cc:4238