Blender  V2.59
Functions | Variables
SHD_rgb.c File Reference
#include "../SHD_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_rgb (void *UNUSED(data), bNode *node, bNodeStack **UNUSED(in), bNodeStack **out)
static int gpu_shader_rgb (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_rgb (ListBase *lb)

Variables

static bNodeSocketType sh_node_rgb_out []

Detailed Description

Definition in file SHD_rgb.c.


Function Documentation

static int gpu_shader_rgb ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_rgb ( void *  UNUSEDdata,
bNode node,
bNodeStack **  UNUSEDin,
bNodeStack **  out 
) [static]

Definition at line 43 of file SHD_rgb.c.

References ListBase::first, bNodeSocket::ns, bNode::outputs, bNodeStack::vec, and VECCOPY.

Referenced by register_node_type_sh_rgb().

void register_node_type_sh_rgb ( ListBase lb)

Variable Documentation

Initial value:
 {
        {       SOCK_RGBA, 0, "Color",                  0.5f, 0.5f, 0.5f, 1.0f, 0.0f, 1.0f},
        {       -1, 0, ""       }
}

Definition at line 38 of file SHD_rgb.c.