|
Blender
V2.59
|
#include "../SHD_util.h"Go to the source code of this file.
Functions | |
| static void | node_shader_exec_mapping (void *UNUSED(data), bNode *node, bNodeStack **in, bNodeStack **out) |
| static void | node_shader_init_mapping (bNode *node) |
| static int | gpu_shader_mapping (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out) |
| void | register_node_type_sh_mapping (ListBase *lb) |
Variables | |
| static bNodeSocketType | sh_node_mapping_in [] |
| static bNodeSocketType | sh_node_mapping_out [] |
Definition in file SHD_mapping.c.
| static int gpu_shader_mapping | ( | GPUMaterial * | mat, |
| bNode * | node, | ||
| GPUNodeStack * | in, | ||
| GPUNodeStack * | out | ||
| ) | [static] |
Definition at line 77 of file SHD_mapping.c.
References TexMapping::flag, GPU_stack_link(), GPU_uniform(), TexMapping::mat, TexMapping::max, TexMapping::min, bNode::storage, TEXMAP_CLIP_MAX, and TEXMAP_CLIP_MIN.
Referenced by register_node_type_sh_mapping().
| static void node_shader_exec_mapping | ( | void * | UNUSEDdata, |
| bNode * | node, | ||
| bNodeStack ** | in, | ||
| bNodeStack ** | out | ||
| ) | [static] |
Definition at line 49 of file SHD_mapping.c.
References TexMapping::flag, TexMapping::mat, TexMapping::max, TexMapping::min, mul_m4_v3(), nodestack_get_vec(), SOCK_VECTOR, bNode::storage, TEXMAP_CLIP_MAX, TEXMAP_CLIP_MIN, and bNodeStack::vec.
Referenced by register_node_type_sh_mapping().
| static void node_shader_init_mapping | ( | bNode * | node | ) | [static] |
Definition at line 72 of file SHD_mapping.c.
References add_mapping(), and bNode::storage.
Referenced by register_node_type_sh_mapping().
| void register_node_type_sh_mapping | ( | ListBase * | lb | ) |
Definition at line 91 of file SHD_mapping.c.
References gpu_shader_mapping(), NODE_CLASS_OP_VECTOR, node_copy_standard_storage(), node_free_standard_storage(), NODE_OPTIONS, node_shader_exec_mapping(), node_shader_init_mapping(), node_type_base(), node_type_exec(), node_type_gpu(), node_type_init(), node_type_size(), node_type_storage(), nodeRegisterType(), and SH_NODE_MAPPING.
Referenced by registerShaderNodes().
bNodeSocketType sh_node_mapping_in[] [static] |
{
{ SOCK_VECTOR, 1, "Vector", 0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 38 of file SHD_mapping.c.
bNodeSocketType sh_node_mapping_out[] [static] |
{
{ SOCK_VECTOR, 0, "Vector", 0.0f, 0.0f, 1.0f, 1.0f, -1.0f, 1.0f},
{ -1, 0, "" }
}
Definition at line 43 of file SHD_mapping.c.