Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/OpenGL/OpenGLTexture.h @ 2037:d81a7157a846 deep-learning
added OpenGLTexture::ConvertToOpenGLFormats()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 28 Jan 2023 12:55:34 +0100 |
parents | a73a8415780f |
children | a72ca4959aa6 |
comparison
equal
deleted
inserted
replaced
2036:444527d34647 | 2037:d81a7157a846 |
---|---|
87 /** | 87 /** |
88 * By default, textures are mirrored at the borders. This | 88 * By default, textures are mirrored at the borders. This |
89 * function will set out-of-image access to zero. | 89 * function will set out-of-image access to zero. |
90 **/ | 90 **/ |
91 void SetClampingToZero(); | 91 void SetClampingToZero(); |
92 | |
93 static void ConvertToOpenGLFormats(GLenum& sourceFormat, | |
94 GLenum& internalFormat, | |
95 GLenum& pixelType, | |
96 Orthanc::PixelFormat format); | |
92 }; | 97 }; |
93 } | 98 } |
94 } | 99 } |