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
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