Closed oxue closed 9 months ago
Looks like there is no good way to clear a render-target when it is created in Metal. I hereby define the contents of new render-targets to be undefined (which is also the case in Metal actually according to the docs so it's not necessarily always magenta).
Is backbuffer.g2.clear() fixes it?
Well, that's one of many options to write the render-target-data and thereby get it into a defined state.
Rendertarget defaults to magenta in MacOS Metal (but is transparent on HTML5)
Steps to reproduce the behavior:
Expected behavior Both to be same
Screenshots
Execution Environment: