MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SwapBuffers

Method SwapBuffers

Source/Engine/Graphics/Models/ModelData.cpp:40–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40void 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
54void MeshData::Release()
55{

Callers 1

BuildIndexBufferMethod · 0.80

Calls 1

SwapMethod · 0.45

Tested by

no test coverage detected