Quantcast
Channel: UGUI & TextMesh Pro
Viewing all articles
Browse latest Browse all 23263

Camera.Render() seems to trigger Canvas.SendWillRenderCanvases()

$
0
0
Hey there. I've got a background camera rendering out some meshes to a RenderTexture. There is also a complex uGUI doing stuff with the user. Both of these have to run in parallel. I've found through profiling that calling a Camera.Render() on this background camera triggers Canvas.SendWillRenderCanvases() on the rest of the UI.


What in tarnation! The background camera is set to have an empty event mask, and a culling mask of only one layer where...

Camera.Render() seems to trigger Canvas.SendWillRenderCanvases()

Viewing all articles
Browse latest Browse all 23263

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>