I would like to mix Stride Render Entities and Skia Layers in my 2D Interface. I can render the two worlds no problem by using a SkiaRenderer node, which also gives me an IRenderer Object I can use in Stride Low Levele Pipeline (See Screenshot).
My issue is, that I want to sort the “Layer” (Stride and Skia) by a Z-Index. But in the current setup this is not possible. It would work, if I would have a SkiaRenderer Node in each of my “SkiaLayer” so I only have a list of IRenderer I can sort, but the performance is completely crashing when using multiple SkiaRenderer Nodes.
Any ideas how to achieve the sorting? I also thought about offsetting in third dimension, but the SkiaRenderer doesnt allow for that either.
Pretty sure this is impossible, maybe only like overlay and underlay…
Would using SkiaTexture + QuadRenderer work for you?
Thanks for the ideas, I think I’ll go with SkiaTexture + QuadRenderer for now.
The only other feasible idea was to group Skia and Stride “Layer” based on Z-Index to have as few SkiaRenderer Nodes as possible, but this will not work in all situations.
