Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2038:a72ca4959aa6 deep-learning
note
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 28 Jan 2023 13:03:14 +0100 |
parents | d81a7157a846 |
children | e0906b7c67b9 |
comparison
equal
deleted
inserted
replaced
2037:d81a7157a846 | 2038:a72ca4959aa6 |
---|---|
52 public: | 52 public: |
53 explicit OpenGLTexture(OpenGL::IOpenGLContext& context); | 53 explicit OpenGLTexture(OpenGL::IOpenGLContext& context); |
54 | 54 |
55 ~OpenGLTexture(); | 55 ~OpenGLTexture(); |
56 | 56 |
57 /** | |
58 * Returns the low-level OpenGL handle of the texture. Beware to | |
59 * never change the size of the texture using this handle! | |
60 **/ | |
57 GLuint GetId() const | 61 GLuint GetId() const |
58 { | 62 { |
59 return texture_; | 63 return texture_; |
60 } | 64 } |
61 | 65 |