|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_normal_map (uiLayout *layout, bContext *C, PointerRNA *ptr) |
| static void | node_shader_init_normal_map (bNodeTree *, bNode *node) |
| static int | gpu_shader_normal_map (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 64 of file node_shader_normal_map.cc.
References BLI_findlink(), CD_TANGENT, bNodeSocket::default_value, ELEM, GPU_attribute(), GPU_constant(), GPU_link(), GPU_material_flag_set(), GPU_MATFLAG_OBJECT_INFO, GPU_uniform(), in, out, bNode::runtime, SHD_SPACE_BLENDER_OBJECT, SHD_SPACE_BLENDER_WORLD, SHD_SPACE_OBJECT, SHD_SPACE_TANGENT, SHD_SPACE_WORLD, NodeShaderNormalMap::space, bNode::storage, NodeShaderNormalMap::uv_map, bNodeSocketValueFloat::value, and bNodeSocketValueRGBA::value.
|
static |
Definition at line 21 of file node_shader_normal_map.cc.
References b, BLT_I18NCONTEXT_AMOUNT, and blender::nodes::SocketDeclaration::description.
|
static |
Definition at line 35 of file node_shader_normal_map.cc.
References C, CTX_data_depsgraph_pointer(), CTX_data_pointer_get(), Object::data, PointerRNA::data, DEG_get_evaluated(), depsgraph, OB_MESH, uiLayout::prop(), uiLayout::prop_search(), ptr, RNA_enum_get(), RNA_id_pointer_create(), SHD_SPACE_TANGENT, Object::type, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 58 of file node_shader_normal_map.cc.
References MEM_callocN(), and bNode::storage.