X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fgraphics%2FBlendedSprite.hpp;h=a15d8a1cb2b41c077c498f92ed86f377defdeeed;hb=1c2994622a6b73f90cbd3ec9c09ffb4d7724cab4;hp=167b0136e322c789bfafd4245ae54790b7b47e60;hpb=282d731ea8f10342efa82012028de7043b3dd639;p=blank.git diff --git a/src/graphics/BlendedSprite.hpp b/src/graphics/BlendedSprite.hpp index 167b013..a15d8a1 100644 --- a/src/graphics/BlendedSprite.hpp +++ b/src/graphics/BlendedSprite.hpp @@ -25,6 +25,8 @@ public: void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p) noexcept; void SetTexture(Texture &) noexcept; + void SetFG(const glm::vec4 &) noexcept; + void SetBG(const glm::vec4 &) noexcept; const glm::mat4 &Projection() const noexcept { return projection; } const glm::mat4 &View() const noexcept { return view; } @@ -39,6 +41,8 @@ private: GLuint mvp_handle; GLuint sampler_handle; + GLuint fg_handle; + GLuint bg_handle; };