You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
494 B
13 lines
494 B
namespace UnityEditor.Rendering
|
|
{
|
|
internal static class ScriptTemplates
|
|
{
|
|
internal const string ScriptTemplatePath = "Packages/com.unity.render-pipelines.core/Editor/ScriptTemplates/";
|
|
|
|
[MenuItem("Assets/Create/Shader/SRP Blit Shader", priority = 1)]
|
|
static void CreateBlitSRPShader()
|
|
{
|
|
ProjectWindowUtil.CreateScriptAssetFromTemplateFile($"{ScriptTemplatePath}BlitSRP.txt", "NewBlitScriptableRenderPipelineShader.shader");
|
|
}
|
|
}
|
|
}
|