Blender  V2.93
Functions | Variables
node_shader_tex_coord.c File Reference
#include "../node_shader_util.h"
#include "DNA_customdata_types.h"

Go to the source code of this file.

Functions

static int node_shader_gpu_tex_coord (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 
void register_node_type_sh_tex_coord (void)
 

Variables

static bNodeSocketTemplate sh_node_tex_coord_out []
 

Function Documentation

◆ node_shader_gpu_tex_coord()

static int node_shader_gpu_tex_coord ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

◆ register_node_type_sh_tex_coord()

void register_node_type_sh_tex_coord ( void  )

Variable Documentation

◆ sh_node_tex_coord_out

bNodeSocketTemplate sh_node_tex_coord_out[]
static
Initial value:
= {
{SOCK_VECTOR, N_("Generated"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Normal"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("UV"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Object"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Camera"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Window"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Reflection"), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f},
{-1, ""},
}
#define N_(msgid)
@ SOCK_VECTOR

Definition at line 26 of file node_shader_tex_coord.c.

Referenced by node_shader_gpu_tex_coord(), and register_node_type_sh_tex_coord().