Mercurial > hg > orthanc-stone
comparison OrthancStone/Sources/Scene2D/Internals/OpenGLFloatTextureProgram.h @ 1571:85e117739eca
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 17:46:39 +0200 |
parents | 244ad1e4e76a |
children | 92fca2b3ba3d |
comparison
equal
deleted
inserted
replaced
1570:9a04f42098a3 | 1571:85e117739eca |
---|---|
55 { | 55 { |
56 return texture_; | 56 return texture_; |
57 } | 57 } |
58 }; | 58 }; |
59 | 59 |
60 private: | |
61 OpenGLTextureProgram program_; | |
62 OpenGL::IOpenGLContext& context_; | |
63 | |
60 public: | 64 public: |
61 OpenGLFloatTextureProgram(OpenGL::IOpenGLContext& context); | 65 explicit OpenGLFloatTextureProgram(OpenGL::IOpenGLContext& context); |
62 | 66 |
63 void Apply(Data& data, | 67 void Apply(Data& data, |
64 const AffineTransform2D& transform, | 68 const AffineTransform2D& transform, |
65 float windowCenter, | 69 float windowCenter, |
66 float windowWidth, | 70 float windowWidth, |
67 bool invert); | 71 bool invert); |
68 private: | |
69 OpenGLTextureProgram program_; | |
70 OpenGL::IOpenGLContext& context_; | |
71 }; | 72 }; |
72 } | 73 } |
73 } | 74 } |