21 #ifndef GF_VERTEX_BUFFER_H 22 #define GF_VERTEX_BUFFER_H 27 #include "GraphicsHandle.h" 28 #include "Portability.h" 29 #include "PrimitiveType.h" 32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 40 static void gen(
int n,
unsigned* resources);
41 static void del(
int n,
const unsigned* resources);
109 return m_vbo.isValid();
118 return m_ebo.isValid();
163 #ifndef DOXYGEN_SHOULD_SKIP_THIS 168 #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:117
PrimitiveType
Kind of primitives to render.
Definition: PrimitiveType.h:43
Data in the graphics memory.
Definition: VertexBuffer.h:77
Definition: GraphicsHandle.h:41
PrimitiveType getPrimitiveType() const
Get the primitive type of the data in the buffer.
Definition: VertexBuffer.h:143
bool hasArrayBuffer() const
Check if there is an array buffer.
Definition: VertexBuffer.h:108
GraphicsTag
Definition: GraphicsHandle.h:34
The namespace for gf classes.
Definition: Action.h:35
std::size_t getCount() const
Get the count of vertices or indices.
Definition: VertexBuffer.h:130