Prewarm function
Hello I'm using shapes (it's amazing) and I wonder if a prewarm function exists ?
Because the first time my line is renderer I got a huge lag spike.
Thank you !
Reporting a bug? please specify Unity version:
2021.3.5f1
Reporting a bug? please specify Shapes version:
4.2.1
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
I believe you can use Unity's warmup API for this
https://docs.unity3d.com/ScriptReference/Experimental.Rendering.ShaderWarmup.html