Class ShaderStringBuilderExtensions
Static class that adds extension methods for the StringBuilder, used mainly in the shader generator for writing down the shader file
Namespace: VRLabs.ModularShaderSystem
Syntax
public static class ShaderStringBuilderExtensions
Methods
Name | Description |
---|---|
AppendLineTabbed(StringBuilder, Int32, String) | Appends a line to the StringBuilder with a specific tab level attached. |
AppendMultilineTabbed(StringBuilder, Int32, String) | Appends mulltiple lines to the StringBuilder with a specific tab level attached. |
AppendTabbed(StringBuilder, Int32, String) | Appends a string to the StringBuilder with a specific tab level attached. |
Contains(StringBuilder, String) | Checks if a StringBuilder contains a specific string |
IndexOf(StringBuilder, String) | Get the index of the first match of a string |
Prepend(StringBuilder, String) | Prepends a string to the StringBuilder. |
PrependLine(StringBuilder, String) | Prepends a line to the StringBuilder. |
PrependLineTabbed(StringBuilder, Int32, String) | Prepends a line to the StringBuilder with a specific tab level attached. |
PrependTabbed(StringBuilder, Int32, String) | Prepends a string to the StringBuilder with a specific tab level attached. |