#ifndef __OPENGLPLAYGROUND_OVERLAY_HH__ #define __OPENGLPLAYGROUND_OVERLAY_HH__ #include #include #include "VBOManager.hh" struct ovlVertexAttribs { int16_t vertex[2]; uint16_t texCoords[2]; } __attribute__((__packed__)); class Overlay { public: Overlay(std::vector const& vas); Overlay(Overlay const& copy) = delete; Overlay& operator=(Overlay const& copy) = delete; ~Overlay(); void draw() const; private: VBOManager::VBOAlloc vbo_; gl::GLuint vaID_; size_t vertices_; }; #endif