Move texture defaults behind renderer gl
This commit is contained in:
@@ -61,7 +61,9 @@ public:
|
||||
void copy(const RTT& source, const glm::vec4& rect);
|
||||
RTT clone() const noexcept;
|
||||
bool resize(int width, int height);
|
||||
bool create(int width, int height, int tex = -1, GLint internal_format = GL_RGBA8, bool depth_buffer = false);
|
||||
bool create(int width, int height);
|
||||
bool create(int width, int height, int tex);
|
||||
bool create(int width, int height, int tex, GLint internal_format, bool depth_buffer = false);
|
||||
bool recreate() { return create(w, h); }
|
||||
void clear(glm::vec4 color = glm::vec4(0));
|
||||
void clear_mask(glm::bool4 mask, glm::vec4 color = glm::vec4(0));
|
||||
|
||||
Reference in New Issue
Block a user