implement the complete stroke shader with custom blending mode
This commit is contained in:
@@ -9,7 +9,7 @@ class Texture2D
|
||||
GLint m_format;
|
||||
GLint m_iformat;
|
||||
public:
|
||||
bool create(int width, int height, GLint internal_format, GLint format = GL_RGBA, const uint8_t* data = nullptr);
|
||||
bool create(int width, int height, GLint internal_format = GL_RGBA8, GLint format = GL_RGBA, const uint8_t* data = nullptr);
|
||||
bool create(const ui::Image& img);
|
||||
void assign(GLuint tex, int w = -1, int h = -1, GLuint internal_format = GL_RGBA8, GLuint format = GL_RGBA);
|
||||
bool load(std::string filename);
|
||||
|
||||
Reference in New Issue
Block a user