Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2035:a73a8415780f deep-learning
added OpenGLTexture::SetClampingToZero()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 27 Jan 2023 19:03:47 +0100 |
parents | 4b24b7533346 |
children | d81a7157a846 |
comparison
equal
deleted
inserted
replaced
2034:4b24b7533346 | 2035:a73a8415780f |
---|---|
81 bool isLinearInterpolation); | 81 bool isLinearInterpolation); |
82 | 82 |
83 void Bind(GLint location); | 83 void Bind(GLint location); |
84 | 84 |
85 Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format); | 85 Orthanc::ImageAccessor* Download(Orthanc::PixelFormat format); |
86 | |
87 /** | |
88 * By default, textures are mirrored at the borders. This | |
89 * function will set out-of-image access to zero. | |
90 **/ | |
91 void SetClampingToZero(); | |
86 }; | 92 }; |
87 } | 93 } |
88 } | 94 } |