prepare to draw on multiple planes
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user