|
Blender
V2.59
|
#include "../SHD_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_valtorgb (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_shader_init_valtorgb (bNode *node) |
| static int | gpu_shader_valtorgb (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_valtorgb (ListBase *lb) |
| static void | node_shader_exec_rgbtobw (void *UNUSED(data), bNode *UNUSED(node), bNodeStack **in, bNodeStack **out) |
| static int | gpu_shader_rgbtobw (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_rgbtobw (ListBase *lb) |
Variables | |
| static bNodeSocketType | sh_node_valtorgb_in [] |
| static bNodeSocketType | sh_node_valtorgb_out [] |
| static bNodeSocketType | sh_node_rgbtobw_in [] |
| static bNodeSocketType | sh_node_rgbtobw_out [] |
Definition in file SHD_valToRgb.c.
| static int gpu_shader_rgbtobw | ( | GPUMaterial * | mat, |
| bNode * | UNUSEDnode, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 111 of file SHD_valToRgb.c.
References GPU_stack_link().
Referenced by register_node_type_sh_rgbtobw().
| static int gpu_shader_valtorgb | ( | GPUMaterial * | mat, |
| bNode * | node, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 67 of file SHD_valToRgb.c.
References colorband_table_RGBA(), GPU_stack_link(), GPU_texture(), size(), and bNode::storage.
Referenced by register_node_type_sh_valtorgb().
| static void node_shader_exec_rgbtobw | ( | void * | UNUSEDdata, |
| bNode * | UNUSEDnode, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 103 of file SHD_valToRgb.c.
References bNodeStack::vec.
Referenced by register_node_type_sh_rgbtobw().
| static void node_shader_exec_valtorgb | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 48 of file SHD_valToRgb.c.
References do_colorband(), nodestack_get_vec(), SOCK_VALUE, bNode::storage, and bNodeStack::vec.
Referenced by register_node_type_sh_valtorgb().
| static void node_shader_init_valtorgb | ( | bNode * | node | ) | [static] |
Definition at line 62 of file SHD_valToRgb.c.
References add_colorband(), and bNode::storage.
Referenced by register_node_type_sh_valtorgb().
| void register_node_type_sh_rgbtobw | ( | ListBase * | lb | ) |
Definition at line 116 of file SHD_valToRgb.c.
References gpu_shader_rgbtobw(), NODE_CLASS_CONVERTOR, node_shader_exec_rgbtobw(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_size(), nodeRegisterType(), and SH_NODE_RGBTOBW.
Referenced by registerShaderNodes().
| void register_node_type_sh_valtorgb | ( | ListBase * | lb | ) |
Definition at line 76 of file SHD_valToRgb.c.
References gpu_shader_valtorgb(), NODE_CLASS_CONVERTOR, node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, node_shader_exec_valtorgb(), node_shader_init_valtorgb(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), and SH_NODE_VALTORGB.
Referenced by registerShaderNodes().
bNodeSocketType sh_node_rgbtobw_in[] [static] |
{
{ SOCK_RGBA, 1, "Color", 0.5f, 0.5f, 0.5f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 93 of file SHD_valToRgb.c.
bNodeSocketType sh_node_rgbtobw_out[] [static] |
{
{ SOCK_VALUE, 0, "Val", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 97 of file SHD_valToRgb.c.
bNodeSocketType sh_node_valtorgb_in[] [static] |
{
{ SOCK_VALUE, 1, "Fac", 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file SHD_valToRgb.c.
bNodeSocketType sh_node_valtorgb_out[] [static] |
{
{ SOCK_RGBA, 0, "Color", 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 1.0f},
{ SOCK_VALUE, 0, "Alpha", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 42 of file SHD_valToRgb.c.