|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_metallic (ui::Layout &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 18 of file node_shader_bsdf_metallic.cc.
References blender::nodes::DeclarationListBuilder::add_input(), b, blender::nodes::SocketDeclaration::description, blender::bNodeTree::flag, blender::nodes::SocketDeclaration::make_available(), min, node, node_declare(), blender::NTREE_IS_GPU_SHADER_INTERNAL, blender::PROP_FACTOR, blender::PROP_WAVELENGTH, blender::SHD_CONDUCTOR_F82, blender::SHD_PHYSICAL_CONDUCTOR, and blender::nodes::decl::Float::subtype.
Referenced by node_declare().
|
static |
Definition at line 89 of file node_shader_bsdf_metallic.cc.
References blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_metallic(), and blender::ui::Layout::prop().
Referenced by node_shader_buts_metallic().
|
static |
Definition at line 101 of file node_shader_bsdf_metallic.cc.
References blender::GPU_constant(), blender::GPU_kernel_globals(), blender::GPU_link(), blender::GPU_material_flag_set(), blender::GPU_MATFLAG_GLOSSY, blender::GPU_MATFLAG_REFLECTION_MAYBE_COLORED, blender::GPU_shading_data(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, node, node_shader_gpu_bsdf_metallic(), blender::gpu::shader::metadata::out, blender::SHD_GLOSSY_MULTI_GGX, and blender::SHD_PHYSICAL_CONDUCTOR.
Referenced by node_shader_gpu_bsdf_metallic().
|
static |
Definition at line 95 of file node_shader_bsdf_metallic.cc.
References node, node_shader_init_metallic(), blender::SHD_CONDUCTOR_F82, and blender::SHD_GLOSSY_MULTI_GGX.
Referenced by node_shader_init_metallic().
|
static |
Definition at line 137 of file node_shader_bsdf_metallic.cc.
References node, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), node_shader_update_metallic(), blender::SHD_PHYSICAL_CONDUCTOR, and blender::SOCK_IN.
Referenced by node_shader_update_metallic().