|
|
|||
File indexing completed on 2026-09-27 09:18:45
0001 // Created by: Kirill GAVRILOV 0002 // Copyright (c) 2013-2014 OPEN CASCADE SAS 0003 // 0004 // This file is part of Open CASCADE Technology software library. 0005 // 0006 // This library is free software; you can redistribute it and/or modify it under 0007 // the terms of the GNU Lesser General Public License version 2.1 as published 0008 // by the Free Software Foundation, with special exception defined in the file 0009 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 0010 // distribution for complete text of the license and disclaimer of any warranty. 0011 // 0012 // Alternatively, this file may be used under the terms of Open CASCADE 0013 // commercial license or contractual agreement. 0014 0015 #ifndef OpenGl_IndexBuffer_HeaderFile 0016 #define OpenGl_IndexBuffer_HeaderFile 0017 0018 #include <OpenGl_Buffer.hxx> 0019 0020 //! Index buffer is just a VBO with special target (GL_ELEMENT_ARRAY_BUFFER). 0021 class OpenGl_IndexBuffer : public OpenGl_Buffer 0022 { 0023 public: 0024 //! Empty constructor. 0025 Standard_EXPORT OpenGl_IndexBuffer(); 0026 0027 //! Return buffer object target (GL_ELEMENT_ARRAY_BUFFER). 0028 Standard_EXPORT unsigned int GetTarget() const override; 0029 0030 //! Dumps the content of me into the stream 0031 Standard_EXPORT void DumpJson(Standard_OStream& theOStream, int theDepth = -1) const override; 0032 0033 public: 0034 DEFINE_STANDARD_RTTIEXT(OpenGl_IndexBuffer, OpenGl_Buffer) 0035 }; 0036 0037 #endif // _OpenGl_IndexBuffer_H__
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|