1 #ifndef GONG_GRAPHICS_BLENDEDSPRITE_HPP_
2 #define GONG_GRAPHICS_BLENDEDSPRITE_HPP_
20 void Activate() noexcept;
22 void SetM(const glm::mat4 &m) noexcept;
23 void SetProjection(const glm::mat4 &p) noexcept;
24 void SetView(const glm::mat4 &v) noexcept;
25 void SetVP(const glm::mat4 &v, const glm::mat4 &p) noexcept;
26 void SetMVP(const glm::mat4 &m, const glm::mat4 &v, const glm::mat4 &p) noexcept;
28 void SetTexture(Texture &) noexcept;
29 void SetFG(const glm::vec4 &) noexcept;
30 void SetBG(const glm::vec4 &) noexcept;
32 const glm::mat4 &Projection() const noexcept { return projection; }
33 const glm::mat4 &View() const noexcept { return view; }
34 const glm::mat4 &GetVP() const noexcept { return vp; }
44 GLuint sampler_handle;