GEL  2
GEL is a library for Geometry and Linear Algebra
Public Member Functions
GLGraphics::SinglePassWireframeRenderer Class Reference

#include <SinglePassWireframeRenderer.h>

List of all members.

Public Member Functions

 SinglePassWireframeRenderer ()
 The constructor creates the wireframe shader program. It is static so the program is shared.
bool enable (const CGLA::Vec3f &line_color=CGLA::Vec3f(1, 0, 0))
 Enable the wireframe shader with an optional line color.
void disable ()
 Switch back to the shader program which was enabled at the time of calling enable.

Detailed Description

Class for wireframe rendering. Enable it will case all triangles to be drawn to be drawn as wireframe. Only triangles are supported, but it is fast.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations