implement brush outline

This commit is contained in:
2019-01-18 11:11:00 +01:00
parent 580fab77c6
commit 8315b32550
4 changed files with 18 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ public:
bool create(GLint filter = GL_LINEAR, GLint wrap = GL_CLAMP_TO_EDGE);
void set(GLint filter = GL_LINEAR, GLint wrap = GL_CLAMP_TO_EDGE);
void set_filter(GLint filter_min, GLint filter_mag);
void set_border(glm::vec4 rgba);
void bind(int unit) const;
void unbind();
bool ready() const { return id != 0; }