|
Blender V5.0
|
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 blender::nodes::DeclarationListBuilder::add_input(), b, blender::nodes::SocketDeclaration::description, min, PROP_FACTOR, PROP_WAVELENGTH, and blender::nodes::decl::Float::subtype.
|
static |
Definition at line 76 of file node_shader_bsdf_metallic.cc.
References uiLayout::prop(), ptr, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 88 of file node_shader_bsdf_metallic.cc.
References bNode::custom1, bNode::custom2, GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_GLOSSY, GPU_MATFLAG_REFLECTION_MAYBE_COLORED, GPU_stack_link(), in, out, SHD_GLOSSY_MULTI_GGX, and SHD_PHYSICAL_CONDUCTOR.
|
static |
Definition at line 82 of file node_shader_bsdf_metallic.cc.
References bNode::custom1, bNode::custom2, SHD_CONDUCTOR_F82, and SHD_GLOSSY_MULTI_GGX.
|
static |
Definition at line 122 of file node_shader_bsdf_metallic.cc.
References bNode::custom2, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), SHD_PHYSICAL_CONDUCTOR, and SOCK_IN.