Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Created on: 2014-10-07
0002 // Created by: Denis BOGOLEPOV
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_ArbTexBindless_H__
0017 #define _OpenGl_ArbTexBindless_H__
0018 
0019 #include <OpenGl_GlFunctions.hxx>
0020 
0021 //! Provides bindless textures.
0022 //! This extension allows OpenGL applications to access texture objects in
0023 //! shaders without first binding each texture to one of a limited number of
0024 //! texture image units.
0025 struct OpenGl_ArbTexBindless : protected OpenGl_GlFunctions
0026 {
0027 #if !defined(GL_ES_VERSION_2_0)
0028   using OpenGl_GlFunctions::glGetTextureHandleARB;
0029   using OpenGl_GlFunctions::glGetTextureSamplerHandleARB;
0030   using OpenGl_GlFunctions::glMakeTextureHandleResidentARB;
0031   using OpenGl_GlFunctions::glMakeTextureHandleNonResidentARB;
0032   using OpenGl_GlFunctions::glGetImageHandleARB;
0033   using OpenGl_GlFunctions::glMakeImageHandleResidentARB;
0034   using OpenGl_GlFunctions::glMakeImageHandleNonResidentARB;
0035   using OpenGl_GlFunctions::glUniformHandleui64ARB;
0036   using OpenGl_GlFunctions::glUniformHandleui64vARB;
0037   using OpenGl_GlFunctions::glProgramUniformHandleui64ARB;
0038   using OpenGl_GlFunctions::glProgramUniformHandleui64vARB;
0039   using OpenGl_GlFunctions::glIsTextureHandleResidentARB;
0040   using OpenGl_GlFunctions::glIsImageHandleResidentARB;
0041   using OpenGl_GlFunctions::glVertexAttribL1ui64ARB;
0042   using OpenGl_GlFunctions::glVertexAttribL1ui64vARB;
0043   using OpenGl_GlFunctions::glGetVertexAttribLui64vARB;
0044 #endif
0045 };
0046 
0047 #endif // _OpenGl_ArbTexBindless_H__