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

Functions

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

Function Documentation

◆ node_declare()

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

Definition at line 11 of file node_shader_bsdf_toon.cc.

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

Referenced by register_node_type_sh_bsdf_toon().

◆ node_shader_buts_toon()

static void blender::nodes::node_shader_bsdf_toon_cc::node_shader_buts_toon ( uiLayout *  layout,
bContext *  UNUSEDC,
PointerRNA *  ptr 
)
static

Definition at line 29 of file node_shader_bsdf_toon.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

Referenced by register_node_type_sh_bsdf_toon().

◆ node_shader_gpu_bsdf_toon()

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