Version: Unity 6.0 (6000.0)
Language : English
PSO tracing and warming example
Create a shader variant collection

Other methods to warm up shaders

Warm up shaders if your build targets the DirectX 11, OpenGL, OpenGLES, or WebGL graphics APIs.

If your project uses the DirectX 11, OpenGL, OpenGLES, or WebGL graphics APIs, Unity provides multiple methods to warm up shaders in your project.

Other methods to warm up shaders

On DirectX 11, OpenGL, OpenGLES, or WebGL graphics APIs, you can also use the following methods to warm up shaders:

To warm up a shader variant collection, do any of the following:

Note: These methods aren’t recommended on Vulkan, DirectX 12, and Metal because they can create the wrong PSOs due to missing graphics states.

Additional resources

PSO tracing and warming example
Create a shader variant collection