]> OCCT Git - occt-copy.git/commitdiff
0025464: Visualization - provide package for Volume Rendering
authorvsv <vsv@opencascade.com>
Mon, 26 Jun 2017 13:40:15 +0000 (16:40 +0300)
committerkgv <kgv@opencascade.com>
Sat, 17 Mar 2018 12:29:52 +0000 (15:29 +0300)
src/OpenGl/OpenGl_TextureBufferArb.hxx

index 851640ed8c3b937b23a896e256858b4f3bd54d93..834d6ca0a8523d96535f601a429eb71a44b2fcc5 100644 (file)
@@ -98,6 +98,12 @@ public:
   Standard_EXPORT void UnbindTexture (const Handle(OpenGl_Context)& theGlCtx,
                                       const GLenum theTextureUnit = GL_TEXTURE0) const;
 
+  //! Returns name of TBO.
+  GLuint TextureId() const
+  {
+    return myTextureId;
+  }
+
 protected:
 
   GLuint myTextureId; //!< texture id