Search Results for

    Show / Hide Table of Contents

    Class ShaderGenerator

    Inheritance
    Object
    ShaderGenerator
    Namespace: VRLabs.ModularShaderSystem
    Syntax
    public static class ShaderGenerator

    Methods

    Name Description
    CheckShaderIssues(List<ShaderModule>)

    Checks for issues with the given list of modules

    CheckShaderIssues(ModularShader)

    Checks for issues with the modular shader in its current state

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

    Enqueues shaders to generate

    FindActiveModules(ModularShader, Dictionary<String, Int32>)

    Find all active modules inside a specified shader.

    FindAllFunctions(ModularShader)

    Find all functions declared by all the modules inside a specified shader

    FindAllModules(ModularShader)

    Find all modules inside a specified shader.

    FindAllProperties(ModularShader)

    Find all properties declared by the shader and its current modules

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

    Generates a shader for selected materials

    GenerateMinimalShaders(List<ShaderGenerator.ShaderContext>)

    Generates shaders from the given list of contexts

    GenerateShader(String, ModularShader, Action<StringBuilder, ShaderGenerator.ShaderContext>, Boolean)

    Generates a shader with all shader variants, you can give a custom PostGeneration action to handle the shader result for some custom modifications (build keywords are still available at this stage)

    GenerateShader(String, ModularShader, Boolean)

    Generates a shader with all shader variants

    GetVariantCode(Dictionary<String, Int32>)
    In This Article
    Back to top Copyright © VRLabs.
    Generated by DocFX