Blender
V3.3
|
Classes | |
class | VoronoiMinowskiFunction |
class | VoronoiMetricFunction |
class | VoronoiEdgeFunction |
Functions | |
static void | sh_node_tex_voronoi_declare (NodeDeclarationBuilder &b) |
static void | node_shader_buts_tex_voronoi (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr) |
static void | node_shader_init_tex_voronoi (bNodeTree *UNUSED(ntree), 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 *UNUSED(execdata), 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 MultiFunction::ExecutionHints | voronoi_execution_hints {50, false} |
|
static |
Definition at line 75 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 52 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().
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 120 of file node_shader_tex_voronoi.cc.
References GPU_constant(), gpu_shader_get_name(), GPU_stack_link(), node, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), usdtokens::out(), and tex.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 63 of file node_shader_tex_voronoi.cc.
References BKE_texture_colormapping_default(), BKE_texture_mapping_default(), node, SHD_VORONOI_EUCLIDEAN, SHD_VORONOI_F1, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 137 of file node_shader_tex_voronoi.cc.
References NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, ELEM, NodeTexVoronoi::feature, node, nodeFindSocket(), nodeSetSocketAvailability(), ntree, SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, SHD_VORONOI_SMOOTH_F1, SOCK_IN, and SOCK_OUT.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 15 of file node_shader_tex_voronoi.cc.
References usdtokens::b(), blender::nodes::SocketDeclaration::make_available(), min, N_, node, PROP_FACTOR, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, and SHD_VORONOI_SMOOTH_F1.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 1315 of file node_shader_tex_voronoi.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), NodeTexVoronoi::dimensions, NodeTexVoronoi::distance, ELEM, NodeTexVoronoi::feature, blender::nodes::NodeMultiFunctionBuilder::node(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_MINKOWSKI, and SHD_VORONOI_N_SPHERE_RADIUS.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 180 of file node_shader_tex_voronoi.cc.
Referenced by blender::nodes::node_shader_tex_voronoi_cc::VoronoiMinowskiFunction::get_execution_hints(), blender::nodes::node_shader_tex_voronoi_cc::VoronoiMetricFunction::get_execution_hints(), and blender::nodes::node_shader_tex_voronoi_cc::VoronoiEdgeFunction::get_execution_hints().