projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8574e32
)
0025464: Visualization - provide package for Volume Rendering
author
vsv
<vsv@opencascade.com>
Mon, 26 Jun 2017 13:40:15 +0000
(16:40 +0300)
committer
bugmaster
<bugmaster@opencascade.com>
Wed, 30 Aug 2017 10:52:58 +0000
(13:52 +0300)
src/OpenGl/OpenGl_TextureBufferArb.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/OpenGl/OpenGl_TextureBufferArb.hxx
b/src/OpenGl/OpenGl_TextureBufferArb.hxx
index
9193f84
..
9ffcb5d
100644
(file)
--- 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