@DTS Engineer I am using a canvas and a timeline view that allows me to draw some kind of height map that depends on a gesture. Now I would like to use that height map as a texture for a layerEffect's argument. Basically having a shader that has one view as the layer, another view as its texture. Do you know how I could accomplish that ?
I tried using an MTKView and render a SwiftUI view in a MTLTexture but the performance are bad.
I have some hope there would be a full SwiftUI way to do so.