|
Blender V4.3
|
Public Member Functions | |
| uint | GetNumFaces () |
| uint | GetNumVerticesOfFace (const uint face_num) |
| uint | GetLoop (const uint face_num, const uint vert_num, int3 &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< float3 > | face_normals |
| Span< float3 > | corner_normals |
| const int3 * | corner_tris |
| const int * | tri_faces |
| const float2 * | mloopuv |
| OffsetIndices< int > | faces |
| const int * | corner_verts |
| Span< float3 > | positions |
| Span< float3 > | vert_normals |
| Span< float3 > | 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 160 of file mesh_tangent.cc.
|
inline |
Definition at line 186 of file mesh_tangent.cc.
References corner_tris, face_as_quad_map, size(), and tri_faces.
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 242 of file mesh_tangent.cc.
References corner_normals, corner_verts, face_normals, GetLoop(), normal_quad_v3(), normal_tri_v3(), sharp_faces, and vert_normals.
|
inline |
Definition at line 161 of file mesh_tangent.cc.
References num_face_as_quad_map, and numTessFaces.
Definition at line 170 of file mesh_tangent.cc.
References face_as_quad_map, size(), tri_faces, and UNUSED_VARS.
|
inline |
Definition at line 219 of file mesh_tangent.cc.
References corner_verts, and GetLoop().
|
inline |
Definition at line 227 of file mesh_tangent.cc.
References corner_verts, GetLoop(), map_to_sphere(), mloopuv, orco, and v.
|
inline |
Definition at line 277 of file mesh_tangent.cc.
References copy_v4_fl4(), and GetLoop().
Definition at line 287 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
| const int3* SGLSLMeshToTangent::corner_tris |
Definition at line 288 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetLoop().
| const int* SGLSLMeshToTangent::corner_verts |
Definition at line 292 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 303 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 286 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
| OffsetIndices<int> SGLSLMeshToTangent::faces |
Definition at line 291 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex().
| const float2* SGLSLMeshToTangent::mloopuv |
Definition at line 290 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 304 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNumFaces().
| int SGLSLMeshToTangent::numTessFaces |
Definition at line 298 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNumFaces().
Definition at line 295 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetTexCoord().
Definition at line 293 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex().
| Span<bool> SGLSLMeshToTangent::sharp_faces |
Definition at line 297 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().
| float(* SGLSLMeshToTangent::tangent)[4] |
Definition at line 296 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex().
| const int* SGLSLMeshToTangent::tri_faces |
Definition at line 289 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), GetLoop(), and GetNumVerticesOfFace().
Definition at line 294 of file mesh_tangent.cc.
Referenced by BKE_mesh_calc_loop_tangent_ex(), and GetNormal().