From: vsv Date: Mon, 26 Jun 2017 13:40:15 +0000 (+0300) Subject: 0025464: Visualization - provide package for Volume Rendering X-Git-Tag: V7_2_0~3 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=f2f4e84dcadb90bffe44999e8ebc9f3dea222198;p=occt-copy.git 0025464: Visualization - provide package for Volume Rendering --- diff --git a/src/OpenGl/OpenGl_TextureBufferArb.hxx b/src/OpenGl/OpenGl_TextureBufferArb.hxx index 9193f842be..9ffcb5de76 100644 --- a/src/OpenGl/OpenGl_TextureBufferArb.hxx +++ b/src/OpenGl/OpenGl_TextureBufferArb.hxx @@ -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