Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:22

0001 // Created on: 2014-03-17
0002 // Created by: Kirill GAVRILOV
0003 // Copyright (c) 2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015 
0016 #ifndef OpenGl_GlCore31_HeaderFile
0017 #define OpenGl_GlCore31_HeaderFile
0018 
0019 #include <OpenGl_GlCore30.hxx>
0020 
0021 //! OpenGL 3.1 definition.
0022 struct OpenGl_GlCore31 : public OpenGl_GlCore30
0023 {
0024 private:
0025   typedef OpenGl_GlCore30 theBaseClass_t;
0026 
0027 public: //! @name GL_ARB_uniform_buffer_object (added to OpenGL 3.1 core)
0028 
0029   using theBaseClass_t::glGetUniformIndices;
0030   using theBaseClass_t::glGetActiveUniformsiv;
0031   using theBaseClass_t::glGetUniformBlockIndex;
0032   using theBaseClass_t::glGetActiveUniformBlockiv;
0033   using theBaseClass_t::glGetActiveUniformBlockName;
0034   using theBaseClass_t::glUniformBlockBinding;
0035 #if !defined(GL_ES_VERSION_2_0)
0036   using theBaseClass_t::glGetActiveUniformName; // undefined in OpenGL ES
0037 #endif
0038 
0039 public: //! @name GL_ARB_copy_buffer (added to OpenGL 3.1 core)
0040 
0041   using theBaseClass_t::glCopyBufferSubData;
0042 
0043 public: //! @name OpenGL 3.1 additives to 3.0
0044 
0045   using theBaseClass_t::glDrawArraysInstanced;
0046   using theBaseClass_t::glDrawElementsInstanced;
0047 #if !defined(GL_ES_VERSION_2_0)
0048   using theBaseClass_t::glTexBuffer; // added in OpenGL ES 3.2
0049   using theBaseClass_t::glPrimitiveRestartIndex; // undefined in OpenGL ES
0050 #endif
0051 
0052 };
0053 
0054 #endif // _OpenGl_GlCore31_Header