Blender V2.61 - r43446
|
#include "../node_shader_util.h"
Go to the source code of this file.
Functions | |
static int | node_shader_gpu_volume_transparent (GPUMaterial *UNUSED(mat), bNode *UNUSED(node), GPUNodeStack *UNUSED(in), GPUNodeStack *UNUSED(out)) |
void | register_node_type_sh_volume_transparent (bNodeTreeType *ttype) |
Variables | |
static bNodeSocketTemplate | sh_node_volume_transparent_in [] |
static bNodeSocketTemplate | sh_node_volume_transparent_out [] |
static int node_shader_gpu_volume_transparent | ( | GPUMaterial * | UNUSEDmat, |
bNode * | UNUSEDnode, | ||
GPUNodeStack * | UNUSEDin, | ||
GPUNodeStack * | UNUSEDout | ||
) | [static] |
Definition at line 43 of file node_shader_volume_transparent.c.
Referenced by register_node_type_sh_volume_transparent().
void register_node_type_sh_volume_transparent | ( | bNodeTreeType * | ttype | ) |
Definition at line 49 of file node_shader_volume_transparent.c.
References NODE_CLASS_SHADER, NODE_NEW_SHADING, node_shader_gpu_volume_transparent(), node_type_base(), node_type_compatibility(), node_type_exec(), node_type_gpu(), node_type_init(), node_type_size(), node_type_socket_templates(), node_type_storage(), nodeRegisterType(), NULL, and SH_NODE_VOLUME_TRANSPARENT.
bNodeSocketTemplate sh_node_volume_transparent_in[] [static] |
{ { SOCK_RGBA, 1, "Color", 0.8f, 0.8f, 0.8f, 1.0f, 0.0f, 1.0f}, { SOCK_FLOAT, 1, "Density", 1.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1000.0f}, { -1, 0, "" } }
Definition at line 32 of file node_shader_volume_transparent.c.
{ { SOCK_SHADER, 0, "Volume"}, { -1, 0, "" } }
Definition at line 38 of file node_shader_volume_transparent.c.