Blender V2.61 - r43446
Functions | Variables

node_shader_texture.c File Reference

#include "DNA_texture_types.h"
#include "node_shader_util.h"

Go to the source code of this file.

Functions

static void node_shader_exec_texture (void *data, bNode *node, bNodeStack **in, bNodeStack **out)
static int gpu_shader_texture (GPUMaterial *mat, bNode *node, GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_texture (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_texture_in []
static bNodeSocketTemplate sh_node_texture_out []

Detailed Description

Definition in file node_shader_texture.c.


Function Documentation

static int gpu_shader_texture ( GPUMaterial mat,
bNode node,
GPUNodeStack in,
GPUNodeStack out 
) [static]
static void node_shader_exec_texture ( void *  data,
bNode node,
bNodeStack **  in,
bNodeStack **  out 
) [static]
void register_node_type_sh_texture ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 1, "Vector",   0.0f, 0.0f, 0.0f, 1.0f, -1.0f, 1.0f, PROP_NONE, SOCK_HIDE_VALUE},   
    {   -1, 0, ""   }
}

Definition at line 38 of file node_shader_texture.c.

Initial value:
 {
    {   SOCK_FLOAT, 0, "Value"},
    {   SOCK_RGBA , 0, "Color"},
    {   SOCK_VECTOR, 0, "Normal"},
    {   -1, 0, ""   }
}

Definition at line 42 of file node_shader_texture.c.