Blender  V3.3
Functions
blender::nodes::node_shader_normal_cc Namespace Reference

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static int gpu_shader_normal (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 

Function Documentation

◆ gpu_shader_normal()

static int blender::nodes::node_shader_normal_cc::gpu_shader_normal ( GPUMaterial mat,
bNode node,
bNodeExecData UNUSEDexecdata,
GPUNodeStack in,
GPUNodeStack out 
)
static

Definition at line 27 of file node_shader_normal.cc.

References GPU_stack_link(), GPU_uniform(), node, and usdtokens::out().

Referenced by register_node_type_sh_normal().

◆ node_declare()

static void blender::nodes::node_shader_normal_cc::node_declare ( NodeDeclarationBuilder b)
static

Definition at line 12 of file node_shader_normal.cc.

References usdtokens::b(), min, N_, and PROP_DIRECTION.

Referenced by register_node_type_sh_normal().