use single shared framebuffer to render stroke previews
This commit is contained in:
@@ -15,15 +15,16 @@ class NodeStrokePreview : public NodeBorder
|
||||
glm::vec4 m_mixer_rect;
|
||||
};
|
||||
|
||||
RTT m_rtt;
|
||||
RTT m_rtt_mixer;
|
||||
Texture2D m_tex; // blending tmp texture
|
||||
Texture2D m_tex_dual;
|
||||
Texture2D m_tex_background;
|
||||
Sampler m_sampler_linear;
|
||||
Sampler m_sampler_linear_repeat;
|
||||
Sampler m_sampler_mipmap;
|
||||
DynamicShape m_brush_shape;
|
||||
static RTT m_rtt;
|
||||
static RTT m_rtt_mixer;
|
||||
static Texture2D m_tex; // blending tmp texture
|
||||
static Texture2D m_tex_dual;
|
||||
static Texture2D m_tex_background;
|
||||
static Sampler m_sampler_linear;
|
||||
static Sampler m_sampler_linear_repeat;
|
||||
static Sampler m_sampler_mipmap;
|
||||
static DynamicShape m_brush_shape;
|
||||
Texture2D m_tex_preview;
|
||||
public:
|
||||
static std::atomic_int s_instances;
|
||||
static std::atomic_bool s_running;
|
||||
|
||||
Reference in New Issue
Block a user