0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / src / OpenGl / OpenGl_GlCore33.hxx
1 // Created on: 2014-03-17
2 // Created by: Kirill GAVRILOV
3 // Copyright (c) 2014 OPEN CASCADE SAS
4 //
5 // This file is part of Open CASCADE Technology software library.
6 //
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
12 //
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
15
16 #ifndef OpenGl_GlCore33_HeaderFile
17 #define OpenGl_GlCore33_HeaderFile
18
19 #include <OpenGl_GlCore32.hxx>
20
21 //! OpenGL 3.3 definition.
22 struct OpenGl_GlCore33 : public OpenGl_GlCore32
23 {
24 private:
25   typedef OpenGl_GlCore32 theBaseClass_t;
26
27 #if !defined(GL_ES_VERSION_2_0)
28
29 public: //! @name GL_ARB_blend_func_extended (added to OpenGL 3.3 core)
30
31   using theBaseClass_t::glBindFragDataLocationIndexed;
32   using theBaseClass_t::glGetFragDataIndex;
33
34 public: //! @name GL_ARB_sampler_objects (added to OpenGL 3.3 core)
35
36   using theBaseClass_t::glGenSamplers;
37   using theBaseClass_t::glDeleteSamplers;
38   using theBaseClass_t::glIsSampler;
39   using theBaseClass_t::glBindSampler;
40   using theBaseClass_t::glSamplerParameteri;
41   using theBaseClass_t::glSamplerParameteriv;
42   using theBaseClass_t::glSamplerParameterf;
43   using theBaseClass_t::glSamplerParameterfv;
44   using theBaseClass_t::glSamplerParameterIiv;
45   using theBaseClass_t::glSamplerParameterIuiv;
46   using theBaseClass_t::glGetSamplerParameteriv;
47   using theBaseClass_t::glGetSamplerParameterIiv;
48   using theBaseClass_t::glGetSamplerParameterfv;
49   using theBaseClass_t::glGetSamplerParameterIuiv;
50
51 public: //! @name GL_ARB_timer_query (added to OpenGL 3.3 core)
52
53   using theBaseClass_t::glQueryCounter;
54   using theBaseClass_t::glGetQueryObjecti64v;
55   using theBaseClass_t::glGetQueryObjectui64v;
56
57 public: //! @name GL_ARB_vertex_type_2_10_10_10_rev (added to OpenGL 3.3 core)
58
59   using theBaseClass_t::glVertexAttribP1ui;
60   using theBaseClass_t::glVertexAttribP1uiv;
61   using theBaseClass_t::glVertexAttribP2ui;
62   using theBaseClass_t::glVertexAttribP2uiv;
63   using theBaseClass_t::glVertexAttribP3ui;
64   using theBaseClass_t::glVertexAttribP3uiv;
65   using theBaseClass_t::glVertexAttribP4ui;
66   using theBaseClass_t::glVertexAttribP4uiv;
67
68 public: //! @name OpenGL 3.3 additives to 3.2
69
70   using theBaseClass_t::glVertexAttribDivisor;
71
72 #endif
73
74 };
75
76 #endif // _OpenGl_GlCore33_Header