emilib
|
#include <gl_lib.hpp>
Public Member Functions | |
TriangleStrip (Usage usage, VertexFormat vf) | |
bool | empty () |
int | count () const |
Number of vertices. | |
int | size_bytes () const |
void | clear () |
void | add_strip (const Vertex *ptr, size_t n) |
void | add_strip (const Vertex *start, const Vertex *end) |
void | add_strip (const std::vector< Vertex > &verts) |
void | add_strip (std::initializer_list< Vertex > verts) |
void | paint_strip (const Program &prog) |
Like a typed, dynamic-expanding MeshPainter TODO: inherit MeshPainter?