|
Blender V5.0
|
Functions | |
| static void | node_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_tangent (uiLayout *layout, bContext *C, PointerRNA *ptr) |
| static void | node_shader_init_tangent (bNodeTree *, bNode *node) |
| static int | node_shader_gpu_tangent (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 19 of file node_shader_tangent.cc.
References b.
|
static |
Definition at line 24 of file node_shader_tangent.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_TANGENT_UVMAP, Object::type, UI_ITEM_R_EXPAND, and UI_ITEM_R_SPLIT_EMPTY_NAME.
|
static |
Definition at line 58 of file node_shader_tangent.cc.
References NodeShaderTangent::axis, CD_ORCO, CD_TANGENT, NodeShaderTangent::direction_type, GPU_attribute(), GPU_link(), GPU_stack_link(), in, out, SHD_TANGENT_AXIS_X, SHD_TANGENT_AXIS_Y, SHD_TANGENT_UVMAP, bNode::storage, and NodeShaderTangent::uv_map.
|
static |
Definition at line 51 of file node_shader_tangent.cc.
References NodeShaderTangent::axis, MEM_callocN(), SHD_TANGENT_AXIS_Z, and bNode::storage.