Blender V2.61 - r43446
Functions | Variables

node_shader_geometry.c File Reference

#include "../node_shader_util.h"

Go to the source code of this file.

Functions

static int node_shader_gpu_geometry (GPUMaterial *mat, bNode *UNUSED(node), GPUNodeStack *in, GPUNodeStack *out)
void register_node_type_sh_geometry (bNodeTreeType *ttype)

Variables

static bNodeSocketTemplate sh_node_geometry_out []

Function Documentation

static int node_shader_gpu_geometry ( GPUMaterial mat,
bNode UNUSEDnode,
GPUNodeStack in,
GPUNodeStack out 
) [static]
void register_node_type_sh_geometry ( bNodeTreeType ttype)

Variable Documentation

Initial value:
 {
    {   SOCK_VECTOR, 0, "Position",         0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Normal",           0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Tangent",          0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "True Normal",      0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Incoming",         0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_VECTOR, 0, "Parametric",       0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   SOCK_FLOAT,  0, "Backfacing",       0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
    {   -1, 0, ""   }
}

Definition at line 32 of file node_shader_geometry.c.