21 #ifndef GF_VERTEX_BUFFER_H 22 #define GF_VERTEX_BUFFER_H 27 #include "Portability.h" 28 #include "PrimitiveType.h" 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 119 void load(
const Vertex *vertices,
const uint16_t *indices, std::size_t count,
PrimitiveType type);
181 #ifndef DOXYGEN_SHOULD_SKIP_THIS 186 #endif // GF_VERTEX_BUFFER_H A point associated with a color and a texture coordinate.
Definition: Vertex.h:75
bool hasElementArrayBuffer() const
Check if there is an element array buffer.
Definition: VertexBuffer.h:135
PrimitiveType
Kind of primitives to render.
Definition: PrimitiveType.h:43
Data in the graphics memory.
Definition: VertexBuffer.h:70
PrimitiveType getPrimitiveType() const
Get the primitive type of the data in the buffer.
Definition: VertexBuffer.h:161
bool hasArrayBuffer() const
Check if there is an array buffer.
Definition: VertexBuffer.h:126
The namespace for gf classes.
Definition: Action.h:34
std::size_t getCount() const
Get the count of vertices or indices.
Definition: VertexBuffer.h:148