public void Build() { VertexShader = new CodeFormatter(VertexShaderBuilder.Build()).Format(); FragmentShader = new CodeFormatter(FragmentShaderBuilder.Build()).Format(); }
public ShaderBuilder(string version) { Version = version; VertexShaderBuilder = new VertexShaderBuilder(Version); FragmentShaderBuilder = new FragmentShaderBuilder(Version); }