Home
last modified time | relevance | path

Searched refs:nodeSetSocketAvailability (Results 1 – 15 of 15) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/nodes/shader/nodes/
H A Dnode_shader_tex_voronoi.c159 nodeSetSocketAvailability(inWSock, tex->dimensions == 1 || tex->dimensions == 4); in node_shader_update_tex_voronoi()
160 nodeSetSocketAvailability(inVectorSock, tex->dimensions != 1); in node_shader_update_tex_voronoi()
161 nodeSetSocketAvailability( in node_shader_update_tex_voronoi()
165 nodeSetSocketAvailability(inSmoothnessSock, tex->feature == SHD_VORONOI_SMOOTH_F1); in node_shader_update_tex_voronoi()
166 nodeSetSocketAvailability(outDistanceSock, tex->feature != SHD_VORONOI_N_SPHERE_RADIUS); in node_shader_update_tex_voronoi()
167 nodeSetSocketAvailability(outColorSock, in node_shader_update_tex_voronoi()
170 nodeSetSocketAvailability(outPositionSock, in node_shader_update_tex_voronoi()
174 nodeSetSocketAvailability(outWSock, in node_shader_update_tex_voronoi()
178 nodeSetSocketAvailability(outRadiusSock, tex->feature == SHD_VORONOI_N_SPHERE_RADIUS); in node_shader_update_tex_voronoi()
H A Dnode_shader_tex_musgrave.c132 nodeSetSocketAvailability(inVectorSock, tex->dimensions != 1); in node_shader_update_tex_musgrave()
133 nodeSetSocketAvailability(inWSock, tex->dimensions == 1 || tex->dimensions == 4); in node_shader_update_tex_musgrave()
134 nodeSetSocketAvailability(inOffsetSock, in node_shader_update_tex_musgrave()
137 nodeSetSocketAvailability(inGainSock, in node_shader_update_tex_musgrave()
H A Dnode_shader_vector_rotate.c63 nodeSetSocketAvailability(sock_rotation, ELEM(node->custom1, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ)); in node_shader_update_vector_rotate()
65 nodeSetSocketAvailability(sock_axis, ELEM(node->custom1, NODE_VECTOR_ROTATE_TYPE_AXIS)); in node_shader_update_vector_rotate()
67 nodeSetSocketAvailability(sock_angle, !ELEM(node->custom1, NODE_VECTOR_ROTATE_TYPE_EULER_XYZ)); in node_shader_update_vector_rotate()
H A Dnode_shader_vector_math.cc119 nodeSetSocketAvailability(sockB, in node_shader_update_vector_math()
131 nodeSetSocketAvailability(sockC, ELEM(node->custom1, NODE_VECTOR_MATH_WRAP)); in node_shader_update_vector_math()
132 nodeSetSocketAvailability(sockScale, node->custom1 == NODE_VECTOR_MATH_SCALE); in node_shader_update_vector_math()
133 nodeSetSocketAvailability(sockVector, in node_shader_update_vector_math()
138 nodeSetSocketAvailability(sockValue, in node_shader_update_vector_math()
H A Dnode_shader_tex_white_noise.c66 nodeSetSocketAvailability(sockVector, node->custom1 != 1); in node_shader_update_tex_white_noise()
67 nodeSetSocketAvailability(sockW, node->custom1 == 1 || node->custom1 == 4); in node_shader_update_tex_white_noise()
H A Dnode_shader_tex_noise.c85 nodeSetSocketAvailability(sockVector, tex->dimensions != 1); in node_shader_update_tex_noise()
86 nodeSetSocketAvailability(sockW, tex->dimensions == 1 || tex->dimensions == 4); in node_shader_update_tex_noise()
H A Dnode_shader_mapping.c63 nodeSetSocketAvailability( in node_shader_update_mapping()
H A Dnode_shader_map_range.cc44 nodeSetSocketAvailability(sockSteps, node->custom2 == NODE_MAP_RANGE_STEPPED); in node_shader_update_map_range()
H A Dnode_shader_tex_sky.c222 nodeSetSocketAvailability(sockVector, !(tex->sky_model == 2 && tex->sun_disc == 1)); in node_shader_update_sky()
/dports/graphics/blender/blender-2.91.0/source/blender/nodes/function/nodes/
H A Dnode_fn_switch.cc60 nodeSetSocketAvailability(sock, index == 0 || sock->type == node->custom1); in fn_node_switch_update()
64 nodeSetSocketAvailability(sock, sock->type == node->custom1); in fn_node_switch_update()
H A Dnode_fn_boolean_math.cc39 nodeSetSocketAvailability(sockB, in node_boolean_math_update()
H A Dnode_fn_float_compare.cc42 nodeSetSocketAvailability( in node_float_compare_update()
/dports/graphics/blender/blender-2.91.0/source/blender/nodes/intern/
H A Dnode_util.c92 nodeSetSocketAvailability(sock2, in node_math_update()
116 nodeSetSocketAvailability(sock3, in node_math_update()
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/
H A DBKE_node.h670 void nodeSetSocketAvailability(struct bNodeSocket *sock, bool is_available);
/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dnode.c3466 void nodeSetSocketAvailability(bNodeSocket *sock, bool is_available) in nodeSetSocketAvailability() function