|
Blender V5.3
|
Classes | |
| class | VoronoiMetricFunction |
| class | VoronoiDistToEdgeFunction |
| class | VoronoiNSphereFunction |
Functions | |
| static void | sh_node_tex_voronoi_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tex_voronoi (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_tex_voronoi (bNodeTree *node_tree, 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 | sh_node_voronoi_build_multi_function (NodeMultiFunctionBuilder &builder) |
Variables | |
| static mf::MultiFunction::ExecutionHints | voronoi_execution_hints {50, false} |
|
static |
Definition at line 155 of file node_shader_tex_voronoi.cc.
References blender::BLI_assert(), gpu_shader_get_name(), blender::SHD_VORONOI_DISTANCE_TO_EDGE, blender::SHD_VORONOI_F1, blender::SHD_VORONOI_F2, blender::SHD_VORONOI_N_SPHERE_RADIUS, and blender::SHD_VORONOI_SMOOTH_F1.
Referenced by gpu_shader_get_name(), and node_shader_gpu_tex_voronoi().
|
static |
Definition at line 127 of file node_shader_tex_voronoi.cc.
References ELEM, blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_tex_voronoi(), blender::ui::Layout::prop(), blender::RNA_enum_get(), blender::SHD_VORONOI_DISTANCE_TO_EDGE, and blender::SHD_VORONOI_N_SPHERE_RADIUS.
Referenced by node_shader_buts_tex_voronoi().
|
static |
Definition at line 200 of file node_shader_tex_voronoi.cc.
References blender::NodeTexVoronoi::dimensions, blender::NodeTexVoronoi::distance, blender::NodeTexVoronoi::feature, blender::GPU_constant(), gpu_shader_get_name(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, blender::node_shader_gpu_default_tex_coord(), blender::node_shader_gpu_tex_mapping(), node_shader_gpu_tex_voronoi(), blender::NodeTexVoronoi::normalize, normalize, and blender::gpu::shader::metadata::out.
Referenced by node_shader_gpu_tex_voronoi().
|
static |
Definition at line 142 of file node_shader_tex_voronoi.cc.
References blender::NodeTexVoronoi::base, blender::BKE_texture_colormapping_default(), blender::BKE_texture_mapping_default(), blender::NodeTexBase::color_mapping, blender::NodeTexVoronoi::dimensions, blender::NodeTexVoronoi::distance, blender::NodeTexVoronoi::feature, node, node_shader_init_tex_voronoi(), blender::NodeTexVoronoi::normalize, blender::NTREE_COMPOSIT, blender::SHD_VORONOI_EUCLIDEAN, blender::SHD_VORONOI_F1, blender::NodeTexBase::tex_mapping, blender::TEXMAP_TYPE_POINT, and blender::bNodeTree::type.
Referenced by node_shader_init_tex_voronoi().
|
static |
Definition at line 29 of file node_shader_tex_voronoi.cc.
References b, blender::nodes::SocketDeclaration::default_input_type, ELEM, blender::nodes::SocketDeclaration::make_available(), max, min, node, blender::NODE_DEFAULT_INPUT_POSITION_FIELD, blender::NODE_DEFAULT_INPUT_UNIFORM_IMAGE_COORDINATES, blender::NTREE_COMPOSIT, blender::PROP_FACTOR, sh_node_tex_voronoi_declare(), blender::SHD_VORONOI_DISTANCE_TO_EDGE, blender::SHD_VORONOI_EUCLIDEAN, blender::SHD_VORONOI_F1, blender::SHD_VORONOI_MINKOWSKI, blender::SHD_VORONOI_N_SPHERE_RADIUS, and blender::SHD_VORONOI_SMOOTH_F1.
Referenced by sh_node_tex_voronoi_declare().
|
static |
Definition at line 811 of file node_shader_tex_voronoi.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), blender::nodes::NodeMultiFunctionBuilder::node(), sh_node_voronoi_build_multi_function(), blender::SHD_VORONOI_DISTANCE_TO_EDGE, blender::SHD_VORONOI_N_SPHERE_RADIUS, and storage.
Referenced by sh_node_voronoi_build_multi_function().
|
static |
Definition at line 218 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().