25 #ifndef SFML_VERTEXBUFFER_HPP    26 #define SFML_VERTEXBUFFER_HPP    31 #include <SFML/Graphics/Export.hpp>    32 #include <SFML/Graphics/PrimitiveType.hpp>    33 #include <SFML/Graphics/Drawable.hpp>    34 #include <SFML/Window/GlResource.hpp>   137     bool create(std::size_t vertexCount);
   145     std::size_t getVertexCount() 
const;
   165     bool update(
const Vertex* vertices);
   198     bool update(
const Vertex* vertices, std::size_t vertexCount, 
unsigned int offset);
   238     unsigned int getNativeHandle() 
const;
   276     void setUsage(Usage usage);
   284     Usage getUsage() 
const;
   319     static bool isAvailable();
   337     unsigned int  m_buffer;        
   346 #endif // SFML_VERTEXBUFFER_HPP PrimitiveType
Types of primitives that a sf::VertexArray can render. 
Define the states used for drawing to a RenderTarget. 
Vertex buffer storage for one or more 2D primitives. 
Occasionally changing data. 
Define a point with color and texture coordinates. 
Base class for all render targets (window, texture, ...) 
Abstract base class for objects that can be drawn to a render target. 
Constantly changing data. 
Base class for classes that require an OpenGL context.