|
Blender V4.5
|
Inherits blender::bke::GeometryFieldInput.
Public Member Functions | |
| MaterialSelectionFieldInput (Material *material) | |
| GVArray | get_varray_for_context (const bke::GeometryFieldContext &context, const IndexMask &mask) const final |
| uint64_t | hash () const override |
| bool | is_equal_to (const fn::FieldNode &other) const override |
| std::optional< AttrDomain > | preferred_domain (const GeometryComponent &) const override |
| Public Member Functions inherited from blender::bke::GeometryFieldInput | |
| GVArray | get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| Public Member Functions inherited from blender::fn::FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () override | |
| virtual std::string | socket_inspection_name () const |
| blender::StringRef | debug_name () const |
| const CPPType & | cpp_type () const |
| Category | category () const |
| const CPPType & | output_cpp_type (int output_index) const override |
| Public Member Functions inherited from blender::fn::FieldNode | |
| FieldNode (FieldNodeType node_type) | |
| FieldNodeType | node_type () const |
| bool | depends_on_input () const |
| const std::shared_ptr< const FieldInputs > & | field_inputs () const |
| virtual | ~FieldNode () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
Additional Inherited Members | |
| Public Types inherited from blender::fn::FieldInput | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
| Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
| Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 54 of file node_geo_material_selection.cc.
|
inline |
Definition at line 58 of file node_geo_material_selection.cc.
References blender::fn::FieldInput::category_, and blender::fn::FieldInput::Generated.
Referenced by is_equal_to().
|
inlinefinalvirtual |
Implements blender::bke::GeometryFieldInput.
Definition at line 65 of file node_geo_material_selection.cc.
References blender::bke::AttributeAccessor::adapt_domain(), blender::bke::CurvesGeometry::attributes(), Geometry::attributes, blender::bke::CurvesGeometry::curves_num(), Mesh::faces_num, blender::IndexMask::IndexMask(), blender::bke::AttributeAccessor::lookup_or_default(), mask(), Curves::mat, Mesh::mat, blender::nodes::node_geo_material_selection_cc::select_by_material(), Curves::totcol, and Mesh::totcol.
|
inlineoverridevirtual |
Reimplemented from blender::fn::FieldNode.
Definition at line 131 of file node_geo_material_selection.cc.
References blender::get_default_hash().
|
inlineoverridevirtual |
Reimplemented from blender::fn::FieldNode.
Definition at line 136 of file node_geo_material_selection.cc.
References MaterialSelectionFieldInput().
|
inlineoverridevirtual |
Reimplemented from blender::bke::GeometryFieldInput.
Definition at line 146 of file node_geo_material_selection.cc.