Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2012-03-06
0002 // Created by: Kirill GAVRILOV
0003 // Copyright (c) 2012-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_GlCore20_HeaderFile
0017 #define OpenGl_GlCore20_HeaderFile
0018 
0019 #include <OpenGl_GlCore15.hxx>
0020 
0021 //! OpenGL 2.0 core based on 1.5 version.
0022 struct OpenGl_GlCore20 : public OpenGl_GlCore15
0023 {
0024 private:
0025   typedef OpenGl_GlCore15 theBaseClass_t;
0026 
0027 public: //! @name OpenGL 2.0 additives to 1.5
0028 
0029   using theBaseClass_t::glBlendEquationSeparate;
0030   using theBaseClass_t::glStencilOpSeparate;
0031   using theBaseClass_t::glStencilFuncSeparate;
0032   using theBaseClass_t::glStencilMaskSeparate;
0033   using theBaseClass_t::glAttachShader;
0034   using theBaseClass_t::glBindAttribLocation;
0035   using theBaseClass_t::glCompileShader;
0036   using theBaseClass_t::glCreateProgram;
0037   using theBaseClass_t::glCreateShader;
0038   using theBaseClass_t::glDeleteProgram;
0039   using theBaseClass_t::glDeleteShader;
0040   using theBaseClass_t::glDetachShader;
0041   using theBaseClass_t::glDisableVertexAttribArray;
0042   using theBaseClass_t::glEnableVertexAttribArray;
0043   using theBaseClass_t::glGetActiveAttrib;
0044   using theBaseClass_t::glGetActiveUniform;
0045   using theBaseClass_t::glGetAttachedShaders;
0046   using theBaseClass_t::glGetAttribLocation;
0047   using theBaseClass_t::glGetProgramiv;
0048   using theBaseClass_t::glGetProgramInfoLog;
0049   using theBaseClass_t::glGetShaderiv;
0050   using theBaseClass_t::glGetShaderInfoLog;
0051   using theBaseClass_t::glGetShaderSource;
0052   using theBaseClass_t::glGetUniformLocation;
0053   using theBaseClass_t::glGetUniformfv;
0054   using theBaseClass_t::glGetUniformiv;
0055   using theBaseClass_t::glGetVertexAttribfv;
0056   using theBaseClass_t::glGetVertexAttribiv;
0057   using theBaseClass_t::glGetVertexAttribPointerv;
0058   using theBaseClass_t::glIsProgram;
0059   using theBaseClass_t::glIsShader;
0060   using theBaseClass_t::glLinkProgram;
0061   using theBaseClass_t::glShaderSource;
0062   using theBaseClass_t::glUseProgram;
0063   using theBaseClass_t::glUniform1f;
0064   using theBaseClass_t::glUniform2f;
0065   using theBaseClass_t::glUniform3f;
0066   using theBaseClass_t::glUniform4f;
0067   using theBaseClass_t::glUniform1i;
0068   using theBaseClass_t::glUniform2i;
0069   using theBaseClass_t::glUniform3i;
0070   using theBaseClass_t::glUniform4i;
0071   using theBaseClass_t::glUniform1fv;
0072   using theBaseClass_t::glUniform2fv;
0073   using theBaseClass_t::glUniform3fv;
0074   using theBaseClass_t::glUniform4fv;
0075   using theBaseClass_t::glUniform1iv;
0076   using theBaseClass_t::glUniform2iv;
0077   using theBaseClass_t::glUniform3iv;
0078   using theBaseClass_t::glUniform4iv;
0079   using theBaseClass_t::glUniformMatrix2fv;
0080   using theBaseClass_t::glUniformMatrix3fv;
0081   using theBaseClass_t::glUniformMatrix4fv;
0082   using theBaseClass_t::glValidateProgram;
0083   using theBaseClass_t::glVertexAttrib1f;
0084   using theBaseClass_t::glVertexAttrib1fv;
0085   using theBaseClass_t::glVertexAttrib2f;
0086   using theBaseClass_t::glVertexAttrib2fv;
0087   using theBaseClass_t::glVertexAttrib3f;
0088   using theBaseClass_t::glVertexAttrib3fv;
0089   using theBaseClass_t::glVertexAttrib4f;
0090   using theBaseClass_t::glVertexAttrib4fv;
0091   using theBaseClass_t::glVertexAttribPointer;
0092 
0093 #if !defined(GL_ES_VERSION_2_0)
0094   using theBaseClass_t::glDrawBuffers;
0095   using theBaseClass_t::glGetVertexAttribdv;
0096   using theBaseClass_t::glVertexAttrib1d;
0097   using theBaseClass_t::glVertexAttrib1dv;
0098   using theBaseClass_t::glVertexAttrib2d;
0099   using theBaseClass_t::glVertexAttrib2dv;
0100   using theBaseClass_t::glVertexAttrib3d;
0101   using theBaseClass_t::glVertexAttrib3dv;
0102   using theBaseClass_t::glVertexAttrib4d;
0103   using theBaseClass_t::glVertexAttrib4dv;
0104   using theBaseClass_t::glVertexAttrib1s;
0105   using theBaseClass_t::glVertexAttrib1sv;
0106   using theBaseClass_t::glVertexAttrib2s;
0107   using theBaseClass_t::glVertexAttrib2sv;
0108   using theBaseClass_t::glVertexAttrib3s;
0109   using theBaseClass_t::glVertexAttrib3sv;
0110   using theBaseClass_t::glVertexAttrib4s;
0111   using theBaseClass_t::glVertexAttrib4sv;
0112   using theBaseClass_t::glVertexAttrib4iv;
0113   using theBaseClass_t::glVertexAttrib4Nbv;
0114   using theBaseClass_t::glVertexAttrib4Niv;
0115   using theBaseClass_t::glVertexAttrib4Nsv;
0116   using theBaseClass_t::glVertexAttrib4Nub;
0117   using theBaseClass_t::glVertexAttrib4Nubv;
0118   using theBaseClass_t::glVertexAttrib4Nuiv;
0119   using theBaseClass_t::glVertexAttrib4Nusv;
0120   using theBaseClass_t::glVertexAttrib4bv;
0121   using theBaseClass_t::glVertexAttrib4ubv;
0122   using theBaseClass_t::glVertexAttrib4uiv;
0123   using theBaseClass_t::glVertexAttrib4usv;
0124 #endif
0125 
0126 };
0127 
0128 #endif // _OpenGl_GlCore20_Header