|
Blender V5.3
|
Functions | |
| static void | sh_node_vector_rotate_declare (NodeDeclarationBuilder &b) |
| static void | node_shader_buts_vector_rotate (ui::Layout &layout, bContext *, PointerRNA *ptr) |
| static const char * | gpu_shader_get_name (int mode) |
| static int | gpu_shader_vector_rotate (GPUMaterial *mat, bNode *node, bNodeExecData *, GPUNodeStack *in, GPUNodeStack *out) |
| static float3 | sh_node_vector_rotate_around_axis (const float3 &vector, const float3 ¢er, const float3 &axis, const float angle) |
| static float3 | sh_node_vector_rotate_euler (const float3 &vector, const float3 ¢er, const float3 &rotation, const bool invert) |
| static const mf::MultiFunction * | get_multi_function (const bNode &node) |
| static void | sh_node_vector_rotate_build_multi_function (NodeMultiFunctionBuilder &builder) |
| static void | node_shader_update_vector_rotate (bNodeTree *ntree, bNode *node) |
|
static |
Definition at line 119 of file node_shader_vector_rotate.cc.
References angle(), BLI_assert_unreachable, get_multi_function(), blender::gpu::shader::metadata::in, invert(), node, blender::NODE_VECTOR_ROTATE_TYPE_AXIS, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_X, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_Y, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_Z, blender::NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, sh_node_vector_rotate_around_axis(), and sh_node_vector_rotate_euler().
Referenced by get_multi_function(), and sh_node_vector_rotate_build_multi_function().
|
static |
Definition at line 58 of file node_shader_vector_rotate.cc.
References gpu_shader_get_name(), blender::NODE_VECTOR_ROTATE_TYPE_AXIS, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_X, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_Y, blender::NODE_VECTOR_ROTATE_TYPE_AXIS_Z, and blender::NODE_VECTOR_ROTATE_TYPE_EULER_XYZ.
Referenced by gpu_shader_get_name(), and gpu_shader_vector_rotate().
|
static |
Definition at line 76 of file node_shader_vector_rotate.cc.
References blender::GPU_constant(), gpu_shader_get_name(), gpu_shader_vector_rotate(), blender::GPU_stack_link(), blender::gpu::shader::metadata::in, invert(), node, and blender::gpu::shader::metadata::out.
Referenced by gpu_shader_vector_rotate().
|
static |
Definition at line 52 of file node_shader_vector_rotate.cc.
References blender::ui::ITEM_R_SPLIT_EMPTY_NAME, node_shader_buts_vector_rotate(), and blender::ui::Layout::prop().
Referenced by node_shader_buts_vector_rotate().
|
static |
Definition at line 212 of file node_shader_vector_rotate.cc.
References ELEM, node, blender::bke::node_find_socket(), blender::bke::node_set_socket_availability(), node_shader_update_vector_rotate(), blender::NODE_VECTOR_ROTATE_TYPE_AXIS, blender::NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, and blender::SOCK_IN.
Referenced by node_shader_update_vector_rotate().
|
static |
Definition at line 92 of file node_shader_vector_rotate.cc.
References angle(), blender::axis_angle_to_mat3(), blender::mul_m3_v3(), blender::result, and sh_node_vector_rotate_around_axis().
Referenced by get_multi_function(), and sh_node_vector_rotate_around_axis().
|
static |
Definition at line 206 of file node_shader_vector_rotate.cc.
References get_multi_function(), blender::nodes::NodeMultiFunctionBuilder::node(), blender::nodes::NodeMultiFunctionBuilder::set_matching_fn(), and sh_node_vector_rotate_build_multi_function().
Referenced by sh_node_vector_rotate_build_multi_function().
|
static |
Definition at line 27 of file node_shader_vector_rotate.cc.
References b, blender::nodes::SocketDeclaration::description, blender::nodes::SocketDeclaration::make_available(), min, node, blender::NODE_VECTOR_ROTATE_TYPE_AXIS, blender::NODE_VECTOR_ROTATE_TYPE_EULER_XYZ, blender::PROP_ANGLE, blender::PROP_EULER, and sh_node_vector_rotate_declare().
Referenced by sh_node_vector_rotate_declare().
|
static |
Definition at line 104 of file node_shader_vector_rotate.cc.
References blender::eul_to_mat3(), invert(), blender::invert_m3(), blender::mul_m3_v3(), blender::result, and sh_node_vector_rotate_euler().
Referenced by get_multi_function(), and sh_node_vector_rotate_euler().