|
||||
File indexing completed on 2025-01-18 10:04:36
0001 // Copyright (c) 2021 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_UniformBuffer_H__ 0015 #define _OpenGl_UniformBuffer_H__ 0016 0017 #include <OpenGl_Buffer.hxx> 0018 0019 //! Uniform buffer object. 0020 class OpenGl_UniformBuffer : public OpenGl_Buffer 0021 { 0022 DEFINE_STANDARD_RTTIEXT(OpenGl_UniformBuffer, OpenGl_Buffer) 0023 public: 0024 0025 //! Empty constructor. 0026 Standard_EXPORT OpenGl_UniformBuffer(); 0027 0028 //! Return buffer object target (GL_UNIFORM_BUFFER). 0029 Standard_EXPORT virtual unsigned int GetTarget() const Standard_OVERRIDE; 0030 0031 using OpenGl_Buffer::BindBufferBase; 0032 using OpenGl_Buffer::UnbindBufferBase; 0033 using OpenGl_Buffer::BindBufferRange; 0034 0035 }; 0036 0037 #endif // _OpenGl_UniformBuffer_H__
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |