struct MAGES::MeshDeformations::RecreateSmoothMeshJob¶
struct RecreateSmoothMeshJob: public IJobParallelFor
{
// fields
UnsafeAtomicCounter32 VertexCount;
NativeArray Vertices;
SubMeshIndexData* SubMeshIndexDataArray;
int SubMeshIndexDataArrayLength;
NativeSlice TetMeshVertices;
NativeArray TetMeshTetrahedra;
NativeArray TetMeshNeighbors;
NativeArray<TetrahedralSubMeshDescriptor> TetMeshSubMeshDescriptors;
NativeArray TetMeshVertexToRenderMeshVertexMap;
// methods
void Execute(int tetrahedronIndex);
};