MCPcopy Create free account
hub / github.com/SFML/SFML / swap

Method swap

src/SFML/Graphics/VertexBuffer.cpp:273–279  ·  view source on GitHub ↗

///////////////////////////////////////////////////////

Source from the content-addressed store, hash-verified

271
272////////////////////////////////////////////////////////////
273void VertexBuffer::swap(VertexBuffer& right) noexcept
274{
275 std::swap(m_size, right.m_size);
276 std::swap(m_buffer, right.m_buffer);
277 std::swap(m_primitiveType, right.m_primitiveType);
278 std::swap(m_usage, right.m_usage);
279}
280
281
282////////////////////////////////////////////////////////////

Callers 1

swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected