emilib
Public Member Functions | List of all members
gl::TriangleStrip< Vertex > Class Template Reference

#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)
 

Detailed Description

template<typename Vertex>
class gl::TriangleStrip< Vertex >

Like a typed, dynamic-expanding MeshPainter TODO: inherit MeshPainter?


The documentation for this class was generated from the following file: