Extract preview main live pass request
This commit is contained in:
@@ -15,6 +15,8 @@ class NodeStrokePreview : public NodeBorder
|
||||
glm::vec4 m_mixer_rect;
|
||||
};
|
||||
|
||||
using StrokeMainLivePassRequest = pp::panopainter::LegacyNodeStrokePreviewMainLivePassRequestT<StrokeFrame>;
|
||||
|
||||
static RTT m_rtt;
|
||||
static RTT m_rtt_mixer;
|
||||
static Texture2D m_tex; // blending tmp texture
|
||||
@@ -51,6 +53,12 @@ public:
|
||||
// return rect {origin, size}
|
||||
glm::vec4 stroke_draw_samples(std::array<vertex_t, 4>& P, Texture2D& blend_tex, bool copy_stroke_destination);
|
||||
std::vector<StrokeFrame> stroke_draw_compute(Stroke& stroke, float zoom) const;
|
||||
StrokeMainLivePassRequest make_stroke_draw_immediate_main_live_pass_request(
|
||||
const Brush& brush,
|
||||
const pp::panopainter::LegacyNodeStrokePreviewPassOrchestrationPlan& pass_orchestration,
|
||||
bool copy_stroke_destination,
|
||||
float zoom,
|
||||
const glm::vec2& size);
|
||||
void draw_stroke();
|
||||
void draw_stroke_immediate();
|
||||
Image render_to_image();
|
||||
|
||||
Reference in New Issue
Block a user