0025464: Visualization - provide package for Volume Rendering
authorvsv <vsv@opencascade.com>
Mon, 26 Jun 2017 13:40:15 +0000 (16:40 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 30 Aug 2017 10:52:58 +0000 (13:52 +0300)
src/OpenGl/OpenGl_TextureBufferArb.hxx

index 9193f84..9ffcb5d 100644 (file)
@@ -98,6 +98,12 @@ public:
   Standard_EXPORT void UnbindTexture (const Handle(OpenGl_Context)& theGlCtx,
                                       const Graphic3d_TextureUnit   theTextureUnit) const;
 
+  //! Returns name of TBO.
+  GLuint TextureId() const
+  {
+    return myTextureId;
+  }
+
 protected:
 
   GLuint myTextureId; //!< texture id