0012121: Optimization of existing selection classes
[occt.git] / src / OpenGl / OpenGl_ResourceVBO.hxx
CommitLineData
161c4476
K
1// File: OpenGl_ResourceVBO.hxx
2// Created: 18.03.11 9:50:00
3// Author: Anton POLETAEV
4
5#ifndef _OPENGL_RESOURCEVBO_H
6#define _OPENGL_RESOURCEVBO_H
7
8#include <OpenGl_Resource.hxx>
9#include <Standard.hxx>
10
11class OpenGl_Resource;
12
13//! OpenGl_ResourceVBO represents the Vertex Buffer
14//! Object resource (VBO) for OpenGl_ResourceCleaner
15class OpenGl_ResourceVBO : public OpenGl_Resource
16{
17
18public:
19
20 //! Constructor
21 OpenGl_ResourceVBO(GLuint theId);
22
23 //! Copy constructor
24 OpenGl_ResourceVBO(const OpenGl_ResourceVBO& theResource);
25
26 //! Destructor
27 ~OpenGl_ResourceVBO() { }
28
29protected:
30
31 //! Clean procedure for VBO resource;
32 //! Should be called by the OpenGl_ResourceCleaner
33 void Clean();
34
35};
36
37#endif