Blender V5.0
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 *, GPUNodeStack *in, GPUNodeStack *out)

Function Documentation

◆ gpu_shader_normal()

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

Definition at line 32 of file node_shader_normal.cc.

References GPU_stack_link(), GPU_uniform(), in, and out.

◆ node_declare()

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

Definition at line 13 of file node_shader_normal.cc.

References b, min, PROP_DIRECTION, and blender::nodes::decl::Vector::subtype.