浏览代码

menu item for the shader generator

/main
vlad-andreev 8 年前
当前提交
7ca8ae32
共有 1 个文件被更改,包括 19 次插入0 次删除
  1. 19
      Assets/ShaderGenerator/ShaderGeneratorMenu.cs

19
Assets/ShaderGenerator/ShaderGeneratorMenu.cs


using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using UnityEngine;
using UnityEditor;
namespace UnityEngine.ScriptableRenderLoop
{
public class ShaderGeneratorMenu
{
[UnityEditor.MenuItem("Renderloop/Generate Shader Includes")]
static void GenerateShaderIncludes()
{
CSharpToHLSL.GenerateAll();
}
}
}
正在加载...
取消
保存