![]()  | 
  
    CUGL 1.3
    
   Cornell University Game Library 
   | 
 
#include <CUVertex.h>
Static Public Member Functions | |
| static const GLvoid * | positionOffset () | 
| static const GLvoid * | colorOffset () | 
| static const GLvoid * | texcoordOffset () | 
Public Attributes | |
| cugl::Vec3 | position | 
| cugl::Color4 | color | 
| cugl::Vec2 | texcoord | 
This class/struct represents the rendering information for a 2d vertex.
The class is intended to be used as a struct. The static methods are to compute the offset for VBO access.
      
  | 
  inlinestatic | 
The memory offset of the vertex color
      
  | 
  inlinestatic | 
The memory offset of the vertex position
      
  | 
  inlinestatic | 
The memory offset of the vertex texture coordinate
| cugl::Color4 cugl::Vertex3::color | 
The vertex color
| cugl::Vec3 cugl::Vertex3::position | 
The vertex position
| cugl::Vec2 cugl::Vertex3::texcoord | 
The vertex texture coordinate
 1.8.16