private static extern void WarmupShaderFromCollection_Injected(ShaderVariantCollection collection, Shader shader, ref ShaderWarmupSetup setup);
 private static extern void WarmupShader_Injected(Shader shader, ref ShaderWarmupSetup setup);
 public static void WarmupShaderFromCollection(ShaderVariantCollection collection, Shader shader, ShaderWarmupSetup setup)
 {
     ShaderWarmup.WarmupShaderFromCollection_Injected(collection, shader, ref setup);
 }
 public static void WarmupShader(Shader shader, ShaderWarmupSetup setup)
 {
     ShaderWarmup.WarmupShader_Injected(shader, ref setup);
 }
Пример #5
0
 static public extern void WarmupShaderFromCollection(ShaderVariantCollection collection, Shader shader, ShaderWarmupSetup setup);
Пример #6
0
 static public extern void WarmupShader(Shader shader, ShaderWarmupSetup setup);