Blender V2.61 - r43446
|
#include "../node_shader_util.h"
Go to the source code of this file.
Functions | |
static int | node_shader_gpu_output_material (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out) |
void | register_node_type_sh_output_material (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | sh_node_output_material_in [] |
static int node_shader_gpu_output_material | ( | GPUMaterial * | mat, |
bNode * | UNUSEDnode, | ||
GPUNodeStack * | in, | ||
GPUNodeStack * | out | ||
) | [static] |
Definition at line 39 of file node_shader_output_material.c.
References GPU_material_output_link(), and GPU_stack_link().
Referenced by register_node_type_sh_output_material().
void register_node_type_sh_output_material | ( | bNodeTreeType * | ttype | ) |
Definition at line 51 of file node_shader_output_material.c.
References NODE_CLASS_OUTPUT, NODE_NEW_SHADING, node_shader_gpu_output_material(), node_type_base(), node_type_compatibility(), node_type_exec(), node_type_gpu(), node_type_gpu_mute(), node_type_init(), node_type_mute(), node_type_size(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, and SH_NODE_OUTPUT_MATERIAL.
Referenced by registerShaderNodes().
bNodeSocketTemplate sh_node_output_material_in[] [static] |
{ { SOCK_SHADER, 1, "Surface"}, { SOCK_SHADER, 1, "Volume"}, { SOCK_FLOAT, 1, "Displacement", 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE}, { -1, 0, "" } }
Definition at line 32 of file node_shader_output_material.c.