Drawable std::vector<sf::Vertex>
More...
#include <VertexVector.hpp>
template<sf::PrimitiveType TPrimitive>
struct sfc::VertexVector< TPrimitive >
Drawable std::vector<sf::Vertex>
- Template Parameters
-
TPrimitive | Way to draw array.
Value | Meaning |
Points | List of individual points |
Lines | List of individual lines |
LineStrip | List of connected lines, a point uses the previous point to form a line |
Triangles | List of individual triangles |
TriangleStrip | List of connected triangles, a point uses the two previous points to form a triangle |
TriangleFan | List of connected triangles, a point uses the common center and the previous point to form a triangle |
Quads | List of individual quads (deprecated, don't work with OpenGL ES) |
|
Access all features of std::vector and draw it directly to sf::RenderWindow.
The documentation for this struct was generated from the following file: