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