|
Blender V4.3
|
Classes | |
| class | VoronoiDistToEdgeFunction |
| class | VoronoiMetricFunction |
| 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 106 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 78 of file node_shader_tex_voronoi.cc.
References ELEM, ptr, RNA_enum_get(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_N_SPHERE_RADIUS, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().
|
static |
Definition at line 151 of file node_shader_tex_voronoi.cc.
References GPU_constant(), gpu_shader_get_name(), GPU_stack_link(), node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), normalize(), and tex.
|
static |
Definition at line 93 of file node_shader_tex_voronoi.cc.
References BKE_texture_colormapping_default(), BKE_texture_mapping_default(), SHD_VORONOI_EUCLIDEAN, SHD_VORONOI_F1, tex, and TEXMAP_TYPE_POINT.
|
static |
Definition at line 169 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::decl::Float::default_value, blender::nodes::SocketDeclaration::make_available(), min, blender::nodes::implicit_field_inputs::position(), PROP_FACTOR, SHD_VORONOI_F1, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, and SHD_VORONOI_SMOOTH_F1.
|
static |
Definition at line 792 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 224 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().