Search Results for

    Show / Hide Table of Contents

    Method GenerateMinimalShader

    GenerateMinimalShader(String, ModularShader, IEnumerable<Material>, Action<StringBuilder, ShaderGenerator.ShaderContext>)

    Generates a shader for selected materials

    Declaration
    public static void GenerateMinimalShader(string path, ModularShader shader, IEnumerable<Material> materials, Action<StringBuilder, ShaderGenerator.ShaderContext> postGeneration = null)
    Parameters
    Type Name Description
    String path

    path for the shader files

    ModularShader shader

    Modular shader to use

    IEnumerable<Material> materials

    List of materials given

    Action<StringBuilder, ShaderGenerator.ShaderContext> postGeneration

    Actions to performs post generation and before cleanup

    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX