|
Blender
V2.93
|
#include "../node_shader_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_init_vertex_color (bNodeTree *UNUSED(ntree), bNode *node) |
| static int | node_shader_gpu_vertex_color (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_vertex_color (void) |
Variables | |
| static bNodeSocketTemplate | sh_node_vertex_color_out [] |
|
static |
Definition at line 35 of file node_shader_vertex_color.c.
References CD_MCOL, CD_PROP_COLOR, GPU_attribute(), GPU_stack_link(), if(), NodeShaderVertexColor::layer_name, and node.
Referenced by register_node_type_sh_vertex_color().
Definition at line 28 of file node_shader_vertex_color.c.
References MEM_callocN, and node.
Referenced by register_node_type_sh_vertex_color().
| void register_node_type_sh_vertex_color | ( | void | ) |
Definition at line 50 of file node_shader_vertex_color.c.
References NODE_CLASS_INPUT, node_copy_standard_storage(), node_free_standard_storage(), node_shader_gpu_vertex_color(), node_shader_init_vertex_color(), node_type_gpu(), node_type_init(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, sh_node_type_base(), SH_NODE_VERTEX_COLOR, and sh_node_vertex_color_out.
Referenced by registerShaderNodes().
|
static |
Definition at line 22 of file node_shader_vertex_color.c.
Referenced by register_node_type_sh_vertex_color().