|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_tex_voronoi (bNodeTree *UNUSED(ntree), bNode *node) |
| 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 *UNUSED(ntree), bNode *node) |
| void | register_node_type_sh_tex_voronoi (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_tex_voronoi_in [] |
| static bNodeSocketTemplate | sh_node_tex_voronoi_out [] |
|
static |
Definition at line 82 of file node_shader_tex_voronoi.c.
References BLI_assert, GPU_constant(), GPU_stack_link(), names, node, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_F1, SHD_VORONOI_F2, SHD_VORONOI_N_SPHERE_RADIUS, SHD_VORONOI_SMOOTH_F1, and tex.
Referenced by register_node_type_sh_tex_voronoi().
Definition at line 70 of file node_shader_tex_voronoi.c.
References BKE_texture_colormapping_default(), BKE_texture_mapping_default(), MEM_callocN, node, SHD_VORONOI_EUCLIDEAN, SHD_VORONOI_F1, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_voronoi().
Definition at line 144 of file node_shader_tex_voronoi.c.
References ELEM, node, nodeFindSocket(), nodeSetSocketAvailability(), SHD_VORONOI_DISTANCE_TO_EDGE, SHD_VORONOI_MINKOWSKI, SHD_VORONOI_N_SPHERE_RADIUS, SHD_VORONOI_SMOOTH_F1, SOCK_IN, SOCK_OUT, and tex.
Referenced by register_node_type_sh_tex_voronoi().
| void register_node_type_sh_tex_voronoi | ( | void | ) |
Definition at line 181 of file node_shader_tex_voronoi.c.
References NODE_CLASS_TEXTURE, node_copy_standard_storage(), node_free_standard_storage(), node_shader_gpu_tex_voronoi(), node_shader_init_tex_voronoi(), node_shader_update_tex_voronoi(), node_type_gpu(), node_type_init(), node_type_socket_templates(), node_type_storage(), node_type_update(), nodeRegisterType(), SH_NODE_TEX_VORONOI, sh_node_tex_voronoi_in, sh_node_tex_voronoi_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 24 of file node_shader_tex_voronoi.c.
Referenced by register_node_type_sh_tex_voronoi().
|
static |
Definition at line 34 of file node_shader_tex_voronoi.c.
Referenced by register_node_type_sh_tex_voronoi().