Mercurial > hg > orthanc-stone
diff 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 |
line wrap: on
line diff
--- a/OrthancStone/Sources/OpenGL/OpenGLTexture.h Sat Jan 28 12:05:23 2023 +0100 +++ b/OrthancStone/Sources/OpenGL/OpenGLTexture.h Sat Jan 28 12:55:34 2023 +0100 @@ -89,6 +89,11 @@ * function will set out-of-image access to zero. **/ void SetClampingToZero(); + + static void ConvertToOpenGLFormats(GLenum& sourceFormat, + GLenum& internalFormat, + GLenum& pixelType, + Orthanc::PixelFormat format); }; } }