|
Blender V5.0
|
Classes | |
| class | VoronoiMetricFunction |
| class | VoronoiDistToEdgeFunction |
| class | VoronoiNSphereFunction |
Functions | |
| static void | sh_node_tex_voronoi_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tex_voronoi (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_tex_voronoi (bNodeTree *, bNode *node) |
| static const char * | gpu_shader_get_name (const int feature, const int dimensions) |
| static int | node_shader_gpu_tex_voronoi (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_shader_update_tex_voronoi (bNodeTree *ntree, bNode *node) |
| static void | sh_node_voronoi_build_multi_function (NodeMultiFunctionBuilder &builder) |
Variables | |
| static mf::MultiFunction::ExecutionHints | voronoi_execution_hints {50, false} |
|
static |
Definition at line 107 of file node_shader_tex_voronoi.cc.
References BLI_assert, SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_F1, SHD_VORONOI_F2, SHD_VORONOI_N_SPHERE_RADIUS, and SHD_VORONOI_SMOOTH_F1.
Referenced by node_shader_gpu_tex_voronoi().
|
static |
Definition at line 79 of file node_shader_tex_voronoi.cc.
References ELEM, uiLayout::prop(), ptr, RNA_enum_get(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_N_SPHERE_RADIUS, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 152 of file node_shader_tex_voronoi.cc.
References NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, NodeTexVoronoi::feature, GPU_constant(), gpu_shader_get_name(), GPU_stack_link(), in, name, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), NodeTexVoronoi::normalize, normalize, out, and bNode::storage.
|
static |
Definition at line 94 of file node_shader_tex_voronoi.cc.
References NodeTexVoronoi::base, BKE_texture_colormapping_default(), BKE_texture_mapping_default(), NodeTexBase::color_mapping, NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, NodeTexVoronoi::feature, MEM_callocN(), NodeTexVoronoi::normalize, SHD_VORONOI_EUCLIDEAN, SHD_VORONOI_F1, bNode::storage, NodeTexBase::tex_mapping, and TEXMAP_TYPE_POINT.
|
static |
Definition at line 170 of file node_shader_tex_voronoi.cc.
References NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, ELEM, NodeTexVoronoi::feature, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, SHD_VORONOI_SMOOTH_F1, SOCK_IN, and SOCK_OUT.
|
static |
Definition at line 23 of file node_shader_tex_voronoi.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::hide_value, max, NODE_DEFAULT_INPUT_POSITION_FIELD, PROP_FACTOR, sh_node_tex_voronoi_declare(), SHD_VORONOI_F1, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, and SHD_VORONOI_SMOOTH_F1.
Referenced by sh_node_tex_voronoi_declare().
|
static |
Definition at line 793 of file node_shader_tex_voronoi.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, NodeTexVoronoi::feature, blender::nodes::NodeMultiFunctionBuilder::node(), NodeTexVoronoi::normalize, SHD_VORONOI_DISTANCE_TO_EDGE, and SHD_VORONOI_N_SPHERE_RADIUS.
|
static |
Definition at line 225 of file node_shader_tex_voronoi.cc.
Referenced by blender::nodes::node_shader_tex_voronoi_cc::VoronoiDistToEdgeFunction::get_execution_hints(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::get_execution_hints(), and blender::nodes::node_shader_tex_voronoi_cc::VoronoiNSphereFunction::get_execution_hints().