Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2039:e0906b7c67b9 deep-learning
const
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 28 Jan 2023 15:48:01 +0100 |
parents | a72ca4959aa6 |
children | 0fa4c0ca429d |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/OpenGLTexture.h Sat Jan 28 13:03:14 2023 +0100 +++ b/OrthancStone/Sources/OpenGL/OpenGLTexture.h Sat Jan 28 15:48:01 2023 +0100 @@ -84,9 +84,9 @@ void Load(const Orthanc::ImageAccessor& image, bool isLinearInterpolation); - void Bind(GLint location); + void Bind(GLint location) const; - Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format); + Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format) const; /** * By default, textures are mirrored at the borders. This