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

Functions

static void node_declare (NodeDeclarationBuilder &b)
 
static void node_shader_buts_bump (uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
 
static int gpu_shader_bump (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out)
 

Function Documentation

◆ gpu_shader_bump()

static int blender::nodes::node_shader_bump_cc::gpu_shader_bump ( GPUMaterial *  mat,
bNode *  node,
bNodeExecData *  UNUSEDexecdata,
GPUNodeStack *  in,
GPUNodeStack *  out 
)
static

◆ node_declare()

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

Definition at line 17 of file node_shader_bump.cc.

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

Referenced by register_node_type_sh_bump().

◆ node_shader_buts_bump()

static void blender::nodes::node_shader_bump_cc::node_shader_buts_bump ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 34 of file node_shader_bump.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

Referenced by register_node_type_sh_bump().