|
Blender V4.5
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_metallic (uiLayout *layout, bContext *, PointerRNA *ptr) |
| static void | node_shader_init_metallic (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_bsdf_metallic (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static void | node_shader_update_metallic (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 12 of file node_shader_bsdf_metallic.cc.
References b, min, node_declare(), PROP_FACTOR, and blender::nodes::decl::Float::subtype.
Referenced by node_declare().
|
static |
Definition at line 60 of file node_shader_bsdf_metallic.cc.
References node_shader_buts_metallic(), uiLayout::prop(), and UI_ITEM_R_SPLIT_EMPTY_NAME.
Referenced by node_shader_buts_metallic().
|
static |
Definition at line 72 of file node_shader_bsdf_metallic.cc.
References bNode::custom1, bNode::custom2, GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_GLOSSY, GPU_stack_link(), in, node_shader_gpu_bsdf_metallic(), out, SHD_GLOSSY_MULTI_GGX, and SHD_PHYSICAL_CONDUCTOR.
Referenced by node_shader_gpu_bsdf_metallic().
|
static |
Definition at line 66 of file node_shader_bsdf_metallic.cc.
References bNode::custom1, bNode::custom2, node_shader_init_metallic(), SHD_CONDUCTOR_F82, and SHD_GLOSSY_MULTI_GGX.
Referenced by node_shader_init_metallic().
|
static |
Definition at line 96 of file node_shader_bsdf_metallic.cc.
References bNode::custom2, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), node_shader_update_metallic(), SHD_PHYSICAL_CONDUCTOR, and SOCK_IN.
Referenced by node_shader_update_metallic().