Blender V4.3
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 *, PointerRNA *ptr)
 
static int node_shader_gpu_bsdf_toon (GPUMaterial *mat, bNode *node, bNodeExecData *, 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 12 of file node_shader_bsdf_toon.cc.

References b, PROP_FACTOR, and blender::nodes::decl::Float::subtype.

◆ node_shader_buts_toon()

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

Definition at line 22 of file node_shader_bsdf_toon.cc.

References ptr, UI_ITEM_R_SPLIT_EMPTY_NAME, and uiItemR().

◆ node_shader_gpu_bsdf_toon()

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