Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // Copyright (c) 2017 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _OpenGl_ArbSamplerObject_Header
0015 #define _OpenGl_ArbSamplerObject_Header
0016 
0017 #include <OpenGl_GlFunctions.hxx>
0018 
0019 //! Provide Sampler Object functionality (texture parameters stored independently from texture itself).
0020 //! Available since OpenGL 3.3+ (GL_ARB_sampler_objects extension) and OpenGL ES 3.0+.
0021 struct OpenGl_ArbSamplerObject : protected OpenGl_GlFunctions
0022 {
0023   using OpenGl_GlFunctions::glGenSamplers;
0024   using OpenGl_GlFunctions::glDeleteSamplers;
0025   using OpenGl_GlFunctions::glIsSampler;
0026   using OpenGl_GlFunctions::glBindSampler;
0027   using OpenGl_GlFunctions::glSamplerParameteri;
0028   using OpenGl_GlFunctions::glSamplerParameteriv;
0029   using OpenGl_GlFunctions::glSamplerParameterf;
0030   using OpenGl_GlFunctions::glSamplerParameterfv;
0031   using OpenGl_GlFunctions::glGetSamplerParameteriv;
0032   using OpenGl_GlFunctions::glGetSamplerParameterfv;
0033 
0034 #if !defined(GL_ES_VERSION_2_0)
0035   using OpenGl_GlFunctions::glSamplerParameterIiv;
0036   using OpenGl_GlFunctions::glSamplerParameterIuiv;
0037   using OpenGl_GlFunctions::glGetSamplerParameterIiv;
0038   using OpenGl_GlFunctions::glGetSamplerParameterIuiv;
0039 #endif
0040 
0041 };
0042 
0043 #endif // _OpenGl_ArbSamplerObject_Header