Search Results for

    Show / Hide Table of Contents

    Method CheckShaderIssues

    CheckShaderIssues(ModularShader)

    Checks for issues with the modular shader in its current state

    Declaration
    public static List<string> CheckShaderIssues(ModularShader shader)
    Parameters
    Type Name Description
    ModularShader shader

    Shader to check

    Returns
    Type Description
    List<String>

    A list of strings detailing all errors, or an empty list if there are no issues

    Remarks

    When you're making your own automatic generation system for your application, be sure to call this function before calling GenerateShader(String, ModularShader, Boolean) or and check for errors to be sure that there won't be issues with the generation of the shader file.

    CheckShaderIssues(List<ShaderModule>)

    Checks for issues with the given list of modules

    Declaration
    public static List<string> CheckShaderIssues(List<ShaderModule> modules)
    Parameters
    Type Name Description
    List<ShaderModule> modules

    Modules to check

    Returns
    Type Description
    List<String>

    A list of strings detailing all errors, or an empty list if there are no issues

    Remarks

    When you're making your own automatic generation system for your application, be sure to call this function before calling GenerateShader(String, ModularShader, Boolean) or and check for errors to be sure that there won't be issues with the generation of the shader file.

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