Blender  V2.93
Functions | Variables
node_texture_at.c File Reference
#include "NOD_texture.h"
#include "node_texture_util.h"

Go to the source code of this file.

Functions

static void colorfn (float *out, TexParams *p, bNode *UNUSED(node), bNodeStack **in, short thread)
 
static void exec (void *data, int UNUSED(thread), bNode *node, bNodeExecData *execdata, bNodeStack **in, bNodeStack **out)
 
void register_node_type_tex_at (void)
 

Variables

static bNodeSocketTemplate inputs []
 
static bNodeSocketTemplate outputs []
 

Function Documentation

◆ colorfn()

static void colorfn ( float out,
TexParams p,
bNode UNUSEDnode,
bNodeStack **  in,
short  thread 
)
static

Definition at line 37 of file node_texture_at.c.

References TexParams::co, tex_input_rgba(), and tex_input_vec().

Referenced by exec().

◆ exec()

static void exec ( void *  data,
int   UNUSEDthread,
bNode node,
bNodeExecData execdata,
bNodeStack **  in,
bNodeStack **  out 
)
static

◆ register_node_type_tex_at()

void register_node_type_tex_at ( void  )

Variable Documentation

◆ inputs

bNodeSocketTemplate inputs[]
static
Initial value:
= {
{SOCK_RGBA, N_("Texture"), 0.0f, 0.0f, 0.0f, 1.0f},
{SOCK_VECTOR, N_("Coordinates"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE},
{-1, ""},
}
#define N_(msgid)
@ SOCK_VECTOR
@ SOCK_RGBA
@ PROP_NONE
Definition: RNA_types.h:113

Definition at line 27 of file node_texture_at.c.

Referenced by register_node_type_tex_at().

◆ outputs

bNodeSocketTemplate outputs[]
static
Initial value:
= {
{SOCK_RGBA, N_("Texture")},
{-1, ""},
}

Definition at line 32 of file node_texture_at.c.

Referenced by register_node_type_tex_at().