| 38 | } |
| 39 | |
| 40 | void MeshData::SwapBuffers(MeshData& other) |
| 41 | { |
| 42 | Positions.Swap(other.Positions); |
| 43 | Indices.Swap(other.Indices); |
| 44 | UVs.Swap(other.UVs); |
| 45 | Normals.Swap(other.Normals); |
| 46 | Tangents.Swap(other.Tangents); |
| 47 | BitangentSigns.Swap(other.BitangentSigns); |
| 48 | Colors.Swap(other.Colors); |
| 49 | BlendIndices.Swap(other.BlendIndices); |
| 50 | BlendWeights.Swap(other.BlendWeights); |
| 51 | BlendShapes.Swap(other.BlendShapes); |
| 52 | } |
| 53 | |
| 54 | void MeshData::Release() |
| 55 | { |