Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_mesh_sample.hh
| Show All 15 Lines | |||||
| namespace blender::bke { | namespace blender::bke { | ||||
| struct ReadAttributeLookup; | struct ReadAttributeLookup; | ||||
| class OutputAttribute; | class OutputAttribute; | ||||
| } // namespace blender::bke | } // namespace blender::bke | ||||
| namespace blender::bke::mesh_surface_sample { | namespace blender::bke::mesh_surface_sample { | ||||
| using fn::CPPType; | |||||
| using fn::GMutableSpan; | using fn::GMutableSpan; | ||||
| using fn::GSpan; | using fn::GSpan; | ||||
| using fn::GVArray; | using fn::GVArray; | ||||
| void sample_point_attribute(const Mesh &mesh, | void sample_point_attribute(const Mesh &mesh, | ||||
| Span<int> looptri_indices, | Span<int> looptri_indices, | ||||
| Span<float3> bary_coords, | Span<float3> bary_coords, | ||||
| const GVArray &data_in, | const GVArray &data_in, | ||||
| ▲ Show 20 Lines • Show All 59 Lines • Show Last 20 Lines | |||||