1 // Created on: 2014-03-17
2 // Created by: Kirill GAVRILOV
3 // Copyright (c) 2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
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.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #ifndef OpenGl_GlCore33_HeaderFile
17 #define OpenGl_GlCore33_HeaderFile
19 #include <OpenGl_GlCore32.hxx>
21 //! OpenGL 3.3 definition.
22 struct OpenGl_GlCore33 : public OpenGl_GlCore32
25 typedef OpenGl_GlCore32 theBaseClass_t;
27 public: //! @name GL_ARB_blend_func_extended (added to OpenGL 3.3 core)
29 using theBaseClass_t::glBindFragDataLocationIndexed;
30 using theBaseClass_t::glGetFragDataIndex;
32 public: //! @name GL_ARB_sampler_objects (added to OpenGL 3.3 core)
34 using theBaseClass_t::glGenSamplers;
35 using theBaseClass_t::glDeleteSamplers;
36 using theBaseClass_t::glIsSampler;
37 using theBaseClass_t::glBindSampler;
38 using theBaseClass_t::glSamplerParameteri;
39 using theBaseClass_t::glSamplerParameteriv;
40 using theBaseClass_t::glSamplerParameterf;
41 using theBaseClass_t::glSamplerParameterfv;
42 using theBaseClass_t::glSamplerParameterIiv;
43 using theBaseClass_t::glSamplerParameterIuiv;
44 using theBaseClass_t::glGetSamplerParameteriv;
45 using theBaseClass_t::glGetSamplerParameterIiv;
46 using theBaseClass_t::glGetSamplerParameterfv;
47 using theBaseClass_t::glGetSamplerParameterIuiv;
49 public: //! @name GL_ARB_timer_query (added to OpenGL 3.3 core)
51 using theBaseClass_t::glQueryCounter;
52 using theBaseClass_t::glGetQueryObjecti64v;
53 using theBaseClass_t::glGetQueryObjectui64v;
55 public: //! @name GL_ARB_vertex_type_2_10_10_10_rev (added to OpenGL 3.3 core)
57 using theBaseClass_t::glVertexAttribP1ui;
58 using theBaseClass_t::glVertexAttribP1uiv;
59 using theBaseClass_t::glVertexAttribP2ui;
60 using theBaseClass_t::glVertexAttribP2uiv;
61 using theBaseClass_t::glVertexAttribP3ui;
62 using theBaseClass_t::glVertexAttribP3uiv;
63 using theBaseClass_t::glVertexAttribP4ui;
64 using theBaseClass_t::glVertexAttribP4uiv;
66 public: //! @name OpenGL 3.3 additives to 3.2
68 using theBaseClass_t::glVertexAttribDivisor;
72 #endif // _OpenGl_GlCore33_Header