|
Blender V5.0
|
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) |
| bool | has_uv () const |
Public Attributes | |
| Span< float3 > | positions |
| OffsetIndices< int > | faces |
| Span< int > | corner_verts |
| Span< int3 > | corner_tris |
| Span< int > | tri_faces |
| Span< float3 > | vert_normals |
| Span< float3 > | face_normals |
| Span< float3 > | corner_normals |
| Span< float2 > | uv_map |
| Span< float3 > | orco |
| Span< bool > | sharp_faces |
| MutableSpan< float4 > | tangents |
| const int * | face_as_quad_map |
| int | num_face_as_quad_map |
Definition at line 116 of file mesh_tangent.cc.
|
inline |
Definition at line 162 of file mesh_tangent.cc.
References face_as_quad_map, and size().
Referenced by GetNormal(), GetPosition(), GetTexCoord(), and SetTangentSpace().
|
inline |
Definition at line 218 of file mesh_tangent.cc.
References GetLoop(), blender::Span< T >::is_empty(), normal_quad_v3(), normal_tri_v3(), and blender::IndexRange::size().
|
inline |
Definition at line 137 of file mesh_tangent.cc.
References blender::Span< T >::size().
Definition at line 146 of file mesh_tangent.cc.
References size(), and UNUSED_VARS.
|
inline |
Definition at line 195 of file mesh_tangent.cc.
References GetLoop().
|
inline |
Definition at line 203 of file mesh_tangent.cc.
References GetLoop(), has_uv(), map_to_sphere(), and v.
|
inline |
Definition at line 261 of file mesh_tangent.cc.
References blender::Span< T >::is_empty().
Referenced by GetTexCoord().
|
inline |
Definition at line 253 of file mesh_tangent.cc.
References copy_v4_fl4(), GetLoop(), and T.
Definition at line 124 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
Definition at line 120 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| Span<int> blender::bke::mesh::SGLSLMeshToTangent::corner_verts |
Definition at line 119 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| const int* blender::bke::mesh::SGLSLMeshToTangent::face_as_quad_map |
Definition at line 133 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents(), and GetLoop().
Definition at line 123 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| OffsetIndices<int> blender::bke::mesh::SGLSLMeshToTangent::faces |
Definition at line 118 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| int blender::bke::mesh::SGLSLMeshToTangent::num_face_as_quad_map |
Definition at line 134 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
Definition at line 126 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
Definition at line 117 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| Span<bool> blender::bke::mesh::SGLSLMeshToTangent::sharp_faces |
Definition at line 127 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| MutableSpan<float4> blender::bke::mesh::SGLSLMeshToTangent::tangents |
Definition at line 128 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
| Span<int> blender::bke::mesh::SGLSLMeshToTangent::tri_faces |
Definition at line 121 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().
Definition at line 125 of file mesh_tangent.cc.
Definition at line 122 of file mesh_tangent.cc.
Referenced by blender::bke::mesh::calc_orco_tangents().