|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_layout (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | fn_node_random_value_init (bNodeTree *, bNode *node) |
| static std::optional< eCustomDataType > | node_type_from_other_socket (const bNodeSocket &socket) |
| static void | node_gather_link_search_ops (GatherLinkSearchOpParams ¶ms) |
| static void | node_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static const char * | gpu_shader_get_name (const eCustomDataType data_type) |
| static int | node_gpu_material (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_register () |
|
static |
Definition at line 73 of file node_fn_random_value.cc.
References blender::CD_PROP_FLOAT, blender::data, fn_node_random_value_init(), and node.
Referenced by fn_node_random_value_init(), and node_register().
|
static |
Definition at line 203 of file node_fn_random_value.cc.
References BLI_assert_unreachable, blender::CD_PROP_BOOL, blender::CD_PROP_FLOAT, blender::CD_PROP_FLOAT3, blender::CD_PROP_INT32, and gpu_shader_get_name().
Referenced by gpu_shader_get_name(), and node_gpu_material().
|
static |
Definition at line 134 of file node_fn_random_value.cc.
References BLI_assert_unreachable, blender::CD_PROP_BOOL, blender::CD_PROP_FLOAT, blender::CD_PROP_FLOAT3, blender::CD_PROP_INT32, blender::noise::hash(), hash, blender::noise::hash_to_float(), blender::nodes::NodeMultiFunctionBuilder::node(), node_build_multi_function(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), storage, blender::x, y, and z().
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 20 of file node_fn_random_value.cc.
References b, BLI_assert_unreachable, blender::CD_PROP_BOOL, blender::CD_PROP_FLOAT, blender::CD_PROP_FLOAT3, blender::CD_PROP_INT32, blender::if(), min, node, node_declare(), blender::NODE_DEFAULT_INPUT_ID_INDEX_FIELD, blender::NODE_DEFAULT_INPUT_VALUE, blender::NTREE_COMPOSIT, blender::PROP_FACTOR, storage, and blender::nodes::SocketDeclaration::structure_type.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 98 of file node_fn_random_value.cc.
References blender::nodes::GatherLinkSearchOpParams::add_item(), blender::nodes::LinkSearchOpParams::add_node(), blender::CD_PROP_BOOL, blender::CD_PROP_FLOAT, blender::CD_PROP_FLOAT3, blender::CD_PROP_INT32, ELEM, IFACE_, blender::nodes::GatherLinkSearchOpParams::in_out(), node, node_gather_link_search_ops(), node_type_from_other_socket(), blender::nodes::GatherLinkSearchOpParams::other_socket(), blender::SOCK_IN, and blender::nodes::LinkSearchOpParams::update_and_connect_available_socket().
Referenced by node_gather_link_search_ops(), and node_register().
|
static |
Definition at line 222 of file node_fn_random_value.cc.
References gpu_shader_get_name(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, node_gpu_material(), blender::gpu::shader::metadata::out, and storage.
Referenced by node_gpu_material(), and node_register().
|
static |
Definition at line 68 of file node_fn_random_value.cc.
References node_layout(), blender::ui::Layout::prop(), and UI_ITEM_NONE.
Referenced by node_layout(), and node_register().
|
static |
Definition at line 238 of file node_fn_random_value.cc.
References blender::bke::bNodeType::build_multi_function, blender::bke::bNodeType::declare, blender::bke::bNodeType::draw_buttons, blender::bke::bNodeType::enum_name_legacy, blender::fn_cmp_node_type_base(), FN_NODE_RANDOM_VALUE, fn_node_random_value_init(), blender::bke::bNodeType::gather_link_search_ops, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::initfunc, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_CONVERTER, blender::node_copy_standard_storage(), node_declare(), blender::node_free_standard_storage(), node_gather_link_search_ops(), node_gpu_material(), node_layout(), node_register(), blender::bke::node_register_type(), blender::bke::node_type_storage(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().
|
static |
Definition at line 80 of file node_fn_random_value.cc.
References blender::CD_PROP_BOOL, blender::CD_PROP_FLOAT, blender::CD_PROP_FLOAT3, blender::CD_PROP_INT32, node_type_from_other_socket(), blender::SOCK_BOOLEAN, blender::SOCK_FLOAT, blender::SOCK_INT, blender::SOCK_RGBA, blender::SOCK_ROTATION, blender::SOCK_VECTOR, and blender::bNodeSocket::type.
Referenced by node_gather_link_search_ops(), and node_type_from_other_socket().