pixelsampler: added pixel sampler panel

When visible, this panel will show the current reference and display transformed
color under the cursor of any viewer.
This commit is contained in:
itsmattkc
2020-04-01 16:57:10 +11:00
parent 76f260cb3a
commit 6ea6dd810e
25 changed files with 390 additions and 48 deletions
@@ -43,6 +43,7 @@ public:
void Release();
void Attach(OpenGLTexture* texture, bool clear = false);
void Attach(OpenGLTexturePtr texture, bool clear = false);
void Detach();
@@ -57,7 +58,7 @@ private:
GLuint buffer_;
OpenGLTexturePtr texture_;
OpenGLTexture* texture_;
};
#endif // OPENGLFRAMEBUFFER_H