Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/NOD_geometry_exec.hh
| Show First 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | #endif | ||||
| { | { | ||||
| return dynamic_cast<GeoNodesLFUserData *>(lf_context_.user_data); | return dynamic_cast<GeoNodesLFUserData *>(lf_context_.user_data); | ||||
| } | } | ||||
| /** | /** | ||||
| * Add an error message displayed at the top of the node when displaying the node tree, | * Add an error message displayed at the top of the node when displaying the node tree, | ||||
| * and potentially elsewhere in Blender. | * and potentially elsewhere in Blender. | ||||
| */ | */ | ||||
| void error_message_add(const NodeWarningType type, std::string message) const; | void error_message_add(const NodeWarningType type, StringRef message) const; | ||||
| std::string attribute_producer_name() const; | std::string attribute_producer_name() const; | ||||
| void set_default_remaining_outputs(); | void set_default_remaining_outputs(); | ||||
| void used_named_attribute(std::string attribute_name, NamedAttributeUsage usage); | void used_named_attribute(StringRef attribute_name, NamedAttributeUsage usage); | ||||
| private: | private: | ||||
| /* Utilities for detecting common errors at when using this class. */ | /* Utilities for detecting common errors at when using this class. */ | ||||
| void check_input_access(StringRef identifier, const CPPType *requested_type = nullptr) const; | void check_input_access(StringRef identifier, const CPPType *requested_type = nullptr) const; | ||||
| void check_output_access(StringRef identifier, const CPPType &value_type) const; | void check_output_access(StringRef identifier, const CPPType &value_type) const; | ||||
| /* Find the active socket with the input name (not the identifier). */ | /* Find the active socket with the input name (not the identifier). */ | ||||
| const bNodeSocket *find_available_socket(const StringRef name) const; | const bNodeSocket *find_available_socket(const StringRef name) const; | ||||
| Show All 35 Lines | |||||