0022792: Globally defined symbol PI conflicts with VTK definition (Intel compiler)
[occt.git] / src / OpenGl / OpenGl_ResourceTexture.hxx
CommitLineData
161c4476
K
1// File: OpenGl_ResourceTexture.hxx
2// Created: 18.03.11 9:40:00
3// Author: Anton POLETAEV
4
5#ifndef _OPENGL_RESOURCETEXTURE_H
6#define _OPENGL_RESOURCETEXTURE_H
7
8#include <OpenGl_Resource.hxx>
9#include <Standard.hxx>
10
11class OpenGl_Resource;
12
13//! OpenGl_ResourceTexture represents the texture resource
14//! for OpenGl_ResourceCleaner
15class OpenGl_ResourceTexture : public OpenGl_Resource
16{
17
18public:
19
20 //! Constructor
21 OpenGl_ResourceTexture(GLuint theId);
22
23 //! Copy constructor
24 OpenGl_ResourceTexture(const OpenGl_ResourceTexture& theResource);
25
26 //! Destructor
27 ~OpenGl_ResourceTexture() { }
28
29protected:
30
31 //! Clean procedure for texture resource;
32 //! Should be called by the OpenGl_ResourceCleaner
33 void Clean();
34
35};
36
37#endif