|
Blender V5.3
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static float3 | get_normal (const bNode &node) |
| static int | node_gpu_material (GPUMaterial *material, bNode *node, bNodeExecData *, GPUNodeStack *, GPUNodeStack *outputs) |
| static void | node_build_multi_function (nodes::NodeMultiFunctionBuilder &builder) |
| static void | node_register () |
Definition at line 33 of file node_composite_normal.cc.
References blender::gpu::shader::metadata::float3, get_normal(), node, and blender::math::normalize().
Referenced by get_normal(), node_build_multi_function(), and node_gpu_material().
|
static |
Definition at line 50 of file node_composite_normal.cc.
References blender::nodes::NodeMultiFunctionBuilder::construct_and_set_matching_fn(), blender::gpu::shader::metadata::float3, get_normal(), blender::nodes::NodeMultiFunctionBuilder::node(), and node_build_multi_function().
Referenced by node_build_multi_function(), and node_register().
|
static |
Definition at line 20 of file node_composite_normal.cc.
References b, min, node_declare(), and blender::PROP_DIRECTION.
Referenced by node_declare(), and node_register().
|
static |
Definition at line 40 of file node_composite_normal.cc.
References blender::gpu::shader::metadata::float3, get_normal(), blender::GPU_link(), blender::GPU_uniform(), blender::GPUNodeStack::link, node, and node_gpu_material().
Referenced by node_gpu_material(), and node_register().
|
static |
Definition at line 56 of file node_composite_normal.cc.
References blender::bke::bNodeType::build_multi_function, CMP_NODE_NORMAL, blender::cmp_node_type_base(), blender::bke::bNodeType::declare, blender::bke::bNodeType::enum_name_legacy, blender::bke::bNodeType::gpu_fn, blender::bke::bNodeType::nclass, node_build_multi_function(), NODE_CLASS_INPUT, node_declare(), node_gpu_material(), node_register(), blender::bke::node_register_type(), blender::bke::bNodeType::ui_description, and blender::bke::bNodeType::ui_name.
Referenced by node_register().