how to render to RenderTarget with multi-pass?

11 views
Skip to first unread message

nil

unread,
Dec 19, 2025, 10:07:48 AM (yesterday) Dec 19
to skia-discuss
how to render to RenderTarget with multi-pass? is there any demo?

Greg Daniel

unread,
Dec 19, 2025, 10:14:02 AM (yesterday) Dec 19
to skia-d...@googlegroups.com
What do you mean by multi-pass? You can create an SkSurface, get the SkCanvas off of it, and then use saveLayer to draw offscreen things into the main canvas/surface with various blending and effects.

If you're referring to some low-level GPU feature, don't worry about it. That would be an implementation detail of how Skia implements its API and you shouldn't need to worry about.

On Fri, Dec 19, 2025 at 10:07 AM nil <niel...@gmail.com> wrote:
how to render to RenderTarget with multi-pass? is there any demo?

--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/skia-discuss/b33b7978-986a-4a64-8275-d12a1c8a18cbn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages