Mercurial > hg > orthanc-stone
diff OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2058:c0627145b441 deep-learning
added OpenGLTexture::IsLinearInterpolation()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 24 Apr 2023 17:09:23 +0200 |
parents | 0b596428e60c |
children | 86e0e92a2e0d |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/OpenGLTexture.h Fri Apr 21 14:39:23 2023 +0200 +++ b/OrthancStone/Sources/OpenGL/OpenGLTexture.h Mon Apr 24 17:09:23 2023 +0200 @@ -44,6 +44,7 @@ Orthanc::PixelFormat format_; OpenGL::IOpenGLContext& context_; + bool isLinearInterpolation_; void Setup(Orthanc::PixelFormat format, unsigned int width, @@ -80,6 +81,11 @@ return height_; } + bool IsLinearInterpolation() const + { + return isLinearInterpolation_; + } + void Setup(Orthanc::PixelFormat format, unsigned int width, unsigned int height,