Blender
V3.3
|
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 *UNUSED(ntree), bNode *node) |
static int | node_shader_gpu_tangent (GPUMaterial *mat, bNode *node, bNodeExecData *UNUSED(execdata), GPUNodeStack *in, GPUNodeStack *out) |
|
static |
Definition at line 13 of file node_shader_tangent.cc.
References usdtokens::b(), and N_.
Referenced by register_node_type_sh_tangent().
|
static |
Definition at line 18 of file node_shader_tangent.cc.
References C, CTX_data_pointer_get(), PointerRNA::data, OB_MESH, ptr, RNA_enum_get(), RNA_pointer_get(), SHD_TANGENT_UVMAP, blender::io::alembic::split(), UI_ITEM_R_EXPAND, UI_ITEM_R_SPLIT_EMPTY_NAME, uiItemPointerR(), uiItemR(), uiLayoutRow(), and uiLayoutSplit().
Referenced by register_node_type_sh_tangent().
|
static |
Definition at line 51 of file node_shader_tangent.cc.
References NodeShaderTangent::axis, CD_ORCO, CD_TANGENT, NodeShaderTangent::direction_type, GPU_attribute(), GPU_link(), GPU_stack_link(), node, usdtokens::out(), SHD_TANGENT_AXIS_X, SHD_TANGENT_AXIS_Y, SHD_TANGENT_UVMAP, and NodeShaderTangent::uv_map.
Referenced by register_node_type_sh_tangent().
|
static |
Definition at line 44 of file node_shader_tangent.cc.
References NodeShaderTangent::axis, node, and SHD_TANGENT_AXIS_Z.
Referenced by register_node_type_sh_tangent().