Unofficial OpenGL Software Development Kit  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Namespaces
Draw.h File Reference

Declares the Draw class and its helper types. Include an OpenGL header before including this one. More...

#include <vector>
#include <string>
#include <exception>
#include <glm/glm.hpp>
#include <glm/gtc/half_float.hpp>
#include "VertexFormat.h"
#include "StreamBuffer.h"
#include "VertexWriter.h"

Go to the source code of this file.

Classes

class  glmesh::DrawException
 Base class for all Draw specific exceptions. More...
 
class  glmesh::TooFewVerticesSentException
 Thrown when drawing with Draw and you did not provide as many vertices as promised. More...
 
class  glmesh::TooManyVerticesSentException
 Thrown when calling Attrib and you are writing more vertices than you promised. More...
 
class  glmesh::PrimitiveTypeUnsupportedException
 Thrown when creating a Draw with a primitive type that the current OpenGL implementation does not support. More...
 
class  glmesh::VertexCountPrimMismatchException
 Thrown when the primitive type and vertex count cannot be used together. More...
 
class  glmesh::Draw
 RAII-style class for immediate-mode type rendering through a VertexFormat and StreamBuffer. More...
 

Namespaces

namespace  glmesh
 The main namespace for the GL Mesh library. All GL Mesh functions are in this namespace.
 

Detailed Description

Declares the Draw class and its helper types. Include an OpenGL header before including this one.