- void drawQuad(const S3DVertex (&vertices)[4], bool textured);\r
- void drawQuads(const S3DVertex *vertices, int quad_count, bool textured);\r
- void drawArrays(GLenum type, const S3DVertex *vertices, int vertex_count, bool textured);\r
+ void drawQuad(const VertexType &vertexType, const S3DVertex (&vertices)[4]);\r
+ void drawArrays(GLenum primitiveType, const VertexType &vertexType, const void *vertices, int vertexCount);\r
+ void drawElements(GLenum primitiveType, const VertexType &vertexType, const void *vertices, const u16 *indices, int indexCount);\r
+ void drawElements(GLenum primitiveType, const VertexType &vertexType, uintptr_t vertices, uintptr_t indices, int indexCount);\r
+\r
+ void beginDraw(const VertexType &vertexType, uintptr_t verticesBase);\r
+ void endDraw(const VertexType &vertexType);\r