|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_tex_gradient (bNodeTree *UNUSED(ntree), bNode *node) |
| static int | node_shader_gpu_tex_gradient (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_tex_gradient (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_tex_gradient_in [] |
| static bNodeSocketTemplate | sh_node_tex_gradient_out [] |
|
static |
Definition at line 54 of file node_shader_tex_gradient.c.
References GPU_constant(), GPU_stack_link(), node, node_shader_gpu_default_tex_coord(), node_shader_gpu_tex_mapping(), and tex.
Referenced by register_node_type_sh_tex_gradient().
Definition at line 44 of file node_shader_tex_gradient.c.
References BKE_texture_colormapping_default(), BKE_texture_mapping_default(), MEM_callocN, node, SHD_BLEND_LINEAR, tex, and TEXMAP_TYPE_POINT.
Referenced by register_node_type_sh_tex_gradient().
| void register_node_type_sh_tex_gradient | ( | void | ) |
Definition at line 69 of file node_shader_tex_gradient.c.
References NODE_CLASS_TEXTURE, node_copy_standard_storage(), node_free_standard_storage(), node_shader_gpu_tex_gradient(), node_shader_init_tex_gradient(), node_type_gpu(), node_type_init(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), SH_NODE_TEX_GRADIENT, sh_node_tex_gradient_in, sh_node_tex_gradient_out, and sh_node_type_base().
Referenced by registerShaderNodes().
|
static |
Definition at line 24 of file node_shader_tex_gradient.c.
Referenced by register_node_type_sh_tex_gradient().
|
static |
Definition at line 29 of file node_shader_tex_gradient.c.
Referenced by register_node_type_sh_tex_gradient().