|
|
|||
File indexing completed on 2026-09-13 09:17:32
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 //! Empty constructor. 0025 Standard_EXPORT OpenGl_UniformBuffer(); 0026 0027 //! Return buffer object target (GL_UNIFORM_BUFFER). 0028 Standard_EXPORT unsigned int GetTarget() const override; 0029 0030 using OpenGl_Buffer::BindBufferBase; 0031 using OpenGl_Buffer::BindBufferRange; 0032 using OpenGl_Buffer::UnbindBufferBase; 0033 }; 0034 0035 #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 |
|