|
Blender V4.5
|
Public Member Functions | |
| uint | GetNumFaces () |
| uint | GetNumVerticesOfFace (const uint face_num) |
| uint | GetLoop (const uint face_num, const uint vert_num, int3int3 &tri, int &face_index) |
| mikk::float3 | GetPosition (const uint face_num, const uint vert_num) |
| mikk::float3 | GetTexCoord (const uint face_num, const uint vert_num) |
| mikk::float3 | GetNormal (const uint face_num, const uint vert_num) |
| void | SetTangentSpace (const uint face_num, const uint vert_num, mikk::float3 T, bool orientation) |
Public Attributes | |
| Span< float3float3 > | face_normals |
| Span< float3float3 > | corner_normals |
| const int3int3 * | corner_tris |
| const int * | tri_faces |
| const float2float2 * | mloopuv |
| OffsetIndices< int > | faces |
| const int * | corner_verts |
| Span< float3float3 > | positions |
| Span< float3float3 > | vert_normals |
| Span< float3float3 > | orco |
| float(* | tangent )[4] |
| Span< bool > | sharp_faces |
| int | numTessFaces |
| const int * | face_as_quad_map |
| int | num_face_as_quad_map |
Definition at line 158 of file mesh_tangent.cc.
|
inline |
Definition at line 184 of file mesh_tangent.cc.
References corner_tris, face_as_quad_map, faces, size(), and tri_faces.
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 240 of file mesh_tangent.cc.
References corner_normals, corner_verts, face_normals, faces, GetLoop(), normal_quad_v3(), normal_tri_v3(), positions, sharp_faces, blender::IndexRange::size(), and vert_normals.
|
inline |
Definition at line 159 of file mesh_tangent.cc.
References num_face_as_quad_map, and numTessFaces.
Definition at line 168 of file mesh_tangent.cc.
References face_as_quad_map, faces, size(), tri_faces, and UNUSED_VARS.
|
inline |
Definition at line 217 of file mesh_tangent.cc.
References corner_verts, GetLoop(), and positions.
|
inline |
Definition at line 225 of file mesh_tangent.cc.
References corner_verts, GetLoop(), map_to_sphere(), mloopuv, orco, and v.
|
inline |
Definition at line 275 of file mesh_tangent.cc.
References copy_v4_fl4(), GetLoop(), T, and tangent.
Definition at line 285 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
Definition at line 286 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetLoop().
| const int* SGLSLMeshToTangent::corner_verts |
Definition at line 290 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetNormal(), GetPosition(), and GetTexCoord().
| const int* SGLSLMeshToTangent::face_as_quad_map |
Definition at line 301 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 284 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
| OffsetIndices<int> SGLSLMeshToTangent::faces |
Definition at line 289 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetLoop(), GetNormal(), and GetNumVerticesOfFace().
Definition at line 288 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetTexCoord().
| int SGLSLMeshToTangent::num_face_as_quad_map |
Definition at line 302 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNumFaces().
| int SGLSLMeshToTangent::numTessFaces |
Definition at line 296 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNumFaces().
Definition at line 293 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetTexCoord().
Definition at line 291 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetNormal(), and GetPosition().
| Span<bool> SGLSLMeshToTangent::sharp_faces |
Definition at line 295 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
| float(* SGLSLMeshToTangent::tangent)[4] |
Definition at line 294 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and SetTangentSpace().
| const int* SGLSLMeshToTangent::tri_faces |
Definition at line 287 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 292 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().