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

Method draw

src/SFML/Graphics/VertexArray.cpp:164–168  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

162
163////////////////////////////////////////////////////////////
164void VertexArray::draw(RenderTarget& target, RenderStates states) const
165{
166 if (!m_vertices.empty())
167 target.draw(m_vertices.data(), m_vertices.size(), m_primitiveType, states);
168}
169
170} // namespace sf

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected