|
Blender V5.3
|
Classes | |
| class | SocketSearchOp |
| class | MixColorFunction |
Functions | |
| static void | sh_node_mix_declare (NodeDeclarationBuilder &b) |
| static void | sh_node_mix_layout (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | sh_node_mix_label (const bNodeTree *, const bNode *node, char *label, int label_maxncpy) |
| static int | sh_node_mix_ui_class (const bNode *node) |
| static void | sh_node_mix_update (bNodeTree *ntree, bNode *node) |
| static void | node_mix_gather_link_searches (GatherLinkSearchOpParams ¶ms) |
| static void | node_mix_init (bNodeTree *, bNode *node) |
| static const char * | gpu_shader_get_name (eNodeSocketDatatype data_type, const bool non_uniform, const int blend_type) |
| static int | gpu_shader_mix (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static const mf::MultiFunction * | get_multi_function (const bNode &node) |
| static void | sh_node_mix_build_multi_function (NodeMultiFunctionBuilder &builder) |
|
static |
Definition at line 533 of file node_shader_mix.cc.
References b, BLI_assert_unreachable, blender::math::clamp(), blender::data, get_multi_function(), blender::math::interpolate(), node, blender::NODE_MIX_MODE_UNIFORM, blender::SOCK_FLOAT, blender::SOCK_ROTATION, and blender::SOCK_VECTOR.
Referenced by get_multi_function(), and sh_node_mix_build_multi_function().
|
static |
Definition at line 307 of file node_shader_mix.cc.
References BLI_assert_unreachable, gpu_shader_get_name(), blender::MA_RAMP_ADD, blender::MA_RAMP_BLEND, blender::MA_RAMP_BURN, blender::MA_RAMP_COLOR, blender::MA_RAMP_DARK, blender::MA_RAMP_DIFF, blender::MA_RAMP_DIV, blender::MA_RAMP_DODGE, blender::MA_RAMP_EXCLUSION, blender::MA_RAMP_HUE, blender::MA_RAMP_LIGHT, blender::MA_RAMP_LINEAR, blender::MA_RAMP_MULT, blender::MA_RAMP_OVERLAY, blender::MA_RAMP_SAT, blender::MA_RAMP_SCREEN, blender::MA_RAMP_SOFT, blender::MA_RAMP_SUB, blender::MA_RAMP_VAL, blender::SOCK_FLOAT, blender::SOCK_RGBA, blender::SOCK_ROTATION, and blender::SOCK_VECTOR.
Referenced by gpu_shader_get_name(), and gpu_shader_mix().
|
static |
Definition at line 368 of file node_shader_mix.cc.
References BLI_assert_unreachable, blender::GPU_constant(), blender::GPU_link(), blender::GPU_node_get_input_link(), blender::GPU_node_get_output(), gpu_shader_get_name(), gpu_shader_mix(), blender::GPU_uniform(), blender::gpu::shader::metadata::in, max, min, node, blender::NODE_MIX_MODE_NON_UNIFORM, blender::gpu::shader::metadata::out, blender::result, blender::ret, blender::SOCK_FLOAT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_VECTOR, and storage.
Referenced by gpu_shader_mix().
|
static |
Definition at line 204 of file node_shader_mix.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), BLT_I18NCONTEXT_ID_NODETREE, CTX_IFACE_, ELEM, blender::EnumPropertyItem::identifier, IFACE_, blender::nodes::GatherLinkSearchOpParams::in_out(), node, node_mix_gather_link_searches(), blender::NODE_MIX_MODE_NON_UNIFORM, blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::rna_enum_ramp_blend_items, blender::SOCK_BOOLEAN, blender::SOCK_FLOAT, blender::SOCK_IN, blender::SOCK_INT, blender::SOCK_OUT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_VECTOR, blender::bNodeSocket::type, and blender::nodes::LinkSearchOpParams::update_and_connect_available_socket().
Referenced by node_mix_gather_link_searches().
Definition at line 296 of file node_shader_mix.cc.
References blender::data, blender::MA_RAMP_BLEND, node, node_mix_init(), blender::NODE_MIX_MODE_UNIFORM, and blender::SOCK_FLOAT.
Referenced by node_mix_init().
|
static |
Definition at line 606 of file node_shader_mix.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), sh_node_mix_build_multi_function(), blender::SOCK_RGBA, and storage.
Referenced by sh_node_mix_build_multi_function().
|
static |
Definition at line 39 of file node_shader_mix.cc.
References b, BLT_I18NCONTEXT_ID_NODETREE, blender::nodes::decl::Color::default_value, blender::nodes::decl::Float::default_value, blender::nodes::decl::Vector::default_value, blender::nodes::SocketDeclaration::is_default_link_socket, max, min, blender::PROP_FACTOR, sh_node_mix_declare(), and blender::nodes::SocketDeclaration::translation_context.
Referenced by sh_node_mix_declare().
|
static |
Definition at line 134 of file node_shader_mix.cc.
References blender::BLI_strncpy_utf8(), BLT_I18NCONTEXT_COLOR, CTX_IFACE_, CTX_N_, IFACE_, node, blender::RNA_enum_name(), blender::rna_enum_ramp_blend_items, sh_node_mix_label(), blender::SOCK_RGBA, and storage.
Referenced by sh_node_mix_label().
|
static |
Definition at line 112 of file node_shader_mix.cc.
References BLI_assert_unreachable, blender::data, blender::PointerRNA::data, blender::ui::Layout::prop(), sh_node_mix_layout(), blender::SOCK_FLOAT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_VECTOR, and UI_ITEM_NONE.
Referenced by sh_node_mix_layout().
|
static |
Definition at line 152 of file node_shader_mix.cc.
References node, NODE_CLASS_CONVERTER, NODE_CLASS_OP_COLOR, NODE_CLASS_OP_VECTOR, sh_node_mix_ui_class(), blender::SOCK_RGBA, blender::SOCK_VECTOR, and storage.
Referenced by sh_node_mix_ui_class().
Definition at line 167 of file node_shader_mix.cc.
References blender::bNodeSocket::next, node, blender::NODE_MIX_MODE_UNIFORM, blender::bke::node_set_socket_availability(), sh_node_mix_update(), blender::SOCK_VECTOR, storage, blender::bNodeSocket::type, and blender::bNodeTree::type.
Referenced by sh_node_mix_update().