WebGPU with Create Screenshot

When creating a screenshot with CreateScreenshotUsingRenderTarget and using engine WebGPU, this recreates a WebGL engine and not WebGPU.

The screenshot is therefore done with the WebGL2 engine and yet it is WebGPU which is given as a parameter in the CreateScreenShot

Is this normal?

Actually, it is not a problem to use a WebGL2 instance in this case because we only use it to copy the texture data, not to render the scene: the scene is always rendered with the main engine (which is WebGPU in this case).

2 Likes

Ok, I understand better. Thank you Evgeni

1 Like