|
Blender V5.3
|
#include <NOD_socket_declarations.hh>
Inherits blender::nodes::SocketDeclaration.
Public Types | |
| using | Builder = IntBuilder |
Public Member Functions | |
#Int | |
| bNodeSocket & | build (bNodeTree &ntree, bNode &node) const override |
| bool | matches (const bNodeSocket &socket) const override |
| bNodeSocket & | update_or_build (bNodeTree &ntree, bNode &node, bNodeSocket &socket) const override |
| bool | can_connect (const bNodeSocket &socket) const override |
| Public Member Functions inherited from blender::nodes::SocketDeclaration | |
| ~SocketDeclaration () override=default | |
| void | make_available (bNode &node) const |
| const CompositorInputRealizationMode & | compositor_realization_mode () const |
| int | compositor_domain_priority () const |
| Public Member Functions inherited from blender::nodes::ItemDeclaration | |
| virtual | ~ItemDeclaration ()=default |
Static Public Attributes | |
| static constexpr eNodeSocketDatatype | static_socket_type = SOCK_INT |
Additional Inherited Members | |
| Protected Member Functions inherited from blender::nodes::SocketDeclaration | |
| void | set_common_flags (bNodeSocket &socket) const |
| bool | matches_common_data (const bNodeSocket &socket) const |
Definition at line 65 of file NOD_socket_declarations.hh.
Definition at line 76 of file NOD_socket_declarations.hh.
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 178 of file node_socket_declarations.cc.
References blender::bNodeSocket::default_value, default_value, blender::nodes::SocketDeclaration::identifier, blender::nodes::SocketDeclaration::in_out, blender::bNodeSocketValueInt::max, blender::bNodeSocketValueInt::min, node, blender::bke::node_add_static_socket(), blender::UString::ref(), blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_INT, soft_max_value, soft_min_value, subtype, and blender::bNodeSocketValueInt::value.
Referenced by update_or_build().
|
overridevirtual |
Determine if a new socket described by this declaration could have a valid connection the other socket.
Implements blender::nodes::SocketDeclaration.
Definition at line 216 of file node_socket_declarations.cc.
References blender::nodes::decl::basic_types_can_connect(), and blender::nodes::decl::sockets_can_connect().
|
overridevirtual |
Implements blender::nodes::SocketDeclaration.
Definition at line 195 of file node_socket_declarations.cc.
References blender::bNodeSocket::default_value, blender::nodes::SocketDeclaration::matches_common_data(), blender::bNodeSocketValueInt::max, blender::bNodeSocketValueInt::min, blender::SOCK_INT, blender::bke::bNodeSocketType::subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
|
overridevirtual |
Reimplemented from blender::nodes::SocketDeclaration.
Definition at line 224 of file node_socket_declarations.cc.
References blender::BLI_assert(), build(), blender::bNodeSocket::default_value, blender::bNodeSocket::in_out, blender::bNodeSocketValueInt::max, blender::bNodeSocketValueInt::min, blender::nodes::decl::modify_subtype_except_for_storage(), node, blender::nodes::SocketDeclaration::set_common_flags(), blender::SOCK_INT, soft_max_value, soft_min_value, blender::bke::bNodeSocketType::subtype, blender::bNodeSocketValueInt::subtype, subtype, blender::bNodeSocket::type, and blender::bNodeSocket::typeinfo.
| int blender::nodes::decl::Int::default_value = 0 |
Definition at line 69 of file NOD_socket_declarations.hh.
Referenced by build(), blender::nodes::build_interface_socket_declaration(), blender::nodes::node_composite_keying_cc::node_declare(), blender::nodes::node_composite_plane_track_deform_cc::node_declare(), blender::nodes::node_geo_curve_primitive_arc_cc::node_declare(), blender::nodes::node_geo_curve_primitive_bezier_segment_cc::node_declare(), blender::nodes::node_geo_curve_primitive_circle_cc::node_declare(), blender::nodes::node_geo_curve_to_points_cc::node_declare(), blender::nodes::node_geo_field_to_list_cc::node_declare(), blender::nodes::node_geo_mesh_primitive_circle_cc::node_declare(), blender::nodes::node_geo_mesh_primitive_cone_cc::node_declare(), blender::nodes::node_geo_mesh_primitive_cylinder_cc::node_declare(), blender::nodes::node_geo_mesh_primitive_line_cc::node_declare(), and blender::nodes::node_geo_subdivision_surface_cc::node_declare().
| friend blender::nodes::decl::Int::IntBuilder |
Definition at line 74 of file NOD_socket_declarations.hh.
| int blender::nodes::decl::Int::soft_max_value = INT32_MAX |
Definition at line 71 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().
| int blender::nodes::decl::Int::soft_min_value = INT32_MIN |
Definition at line 70 of file NOD_socket_declarations.hh.
Referenced by build(), and update_or_build().
|
staticconstexpr |
Definition at line 67 of file NOD_socket_declarations.hh.
| PropertySubType blender::nodes::decl::Int::subtype = PROP_NONE |
Definition at line 72 of file NOD_socket_declarations.hh.
Referenced by build(), blender::nodes::node_composite_bilateral_blur_cc::node_declare(), blender::nodes::node_composite_crop_cc::node_declare(), blender::nodes::node_composite_dilate_erode_cc::node_declare(), blender::nodes::node_composite_inpaint_cc::node_declare(), blender::nodes::node_composite_keying_cc::node_declare(), blender::nodes::node_composite_mask_cc::node_declare(), blender::nodes::node_composite_pixelate_cc::node_declare(), blender::nodes::node_composite_string_to_image_cc::node_declare(), blender::nodes::node_geo_curve_primitive_quadratic_bezier_cc::node_declare(), blender::nodes::node_geo_curve_primitive_spiral_cc::node_declare(), blender::nodes::node_geo_curve_primitive_star_cc::node_declare(), and update_or_build().