prepare to draw on multiple planes

This commit is contained in:
2017-04-27 21:13:09 +01:00
parent e6332322b3
commit a6a020a389
4 changed files with 270 additions and 281 deletions

View File

@@ -76,22 +76,4 @@ public:
StrokeSample randomize_sample(const glm::vec2& pos, float pressure);
};
class Layer
{
public:
RTT m_rtt;
bool m_visible = true;
bool m_locked = false;
float m_opacity = 1.f;
std::string m_name;
bool create(int width, int height, std::string name)
{
m_rtt.create(width, height);
m_rtt.bindFramebuffer();
m_rtt.clear();
m_rtt.unbindFramebuffer();
return true;
}
};
NS_END