diff options
Diffstat (limited to 'src/render/Texture.hpp')
| -rw-r--r-- | src/render/Texture.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/Texture.hpp b/src/render/Texture.hpp index b9811230..8ee2cab0 100644 --- a/src/render/Texture.hpp +++ b/src/render/Texture.hpp @@ -37,6 +37,7 @@ class CTexture { void bind(); void unbind(); void setTexParameter(GLenum pname, GLint param); + void swizzle(const std::array<GLint, 4>& colors); eTextureType m_type = TEXTURE_RGBA; GLenum m_target = GL_TEXTURE_2D; |
