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

Method draw

src/SFML/Graphics/VertexBuffer.cpp:347–351  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

345
346////////////////////////////////////////////////////////////
347void VertexBuffer::draw(RenderTarget& target, RenderStates states) const
348{
349 if (m_buffer && m_size)
350 target.draw(*this, 0, m_size, states);
351}
352
353
354////////////////////////////////////////////////////////////

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected