ModelViewer.ShaderViewer.ShaderViewer C# (CSharp) Method

ShaderViewer() public method

public ShaderViewer ( string shaderName, string filePath ) : System.Windows.Forms
shaderName string
filePath string
return System.Windows.Forms
        public ShaderViewer(string shaderName, string filePath)
        {
            InitializeComponent();

            this.filePath = filePath;
            this.Text = shaderName;
            this.webBrowser1.Navigate(filePath);
        }