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

Functions

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

Function Documentation

◆ node_declare()

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

Definition at line 11 of file node_shader_bsdf_hair.cc.

References usdtokens::b(), M_PI_2, N_, PROP_ANGLE, and PROP_FACTOR.

Referenced by register_node_type_sh_bsdf_hair().

◆ node_shader_buts_hair()

static void blender::nodes::node_shader_bsdf_hair_cc::node_shader_buts_hair ( uiLayout layout,
bContext UNUSEDC,
PointerRNA ptr 
)
static

Definition at line 34 of file node_shader_bsdf_hair.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

Referenced by register_node_type_sh_bsdf_hair().

◆ node_shader_gpu_bsdf_hair()

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

Definition at line 39 of file node_shader_bsdf_hair.cc.

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

Referenced by register_node_type_sh_bsdf_hair().