CSharpGL.ShaderCode.ShaderCode C# (CSharp) Method

ShaderCode() public method

某种类型的shader代码。

Some type of shader code.

public ShaderCode ( string sourceCode, ShaderType shaderType ) : System.Linq
sourceCode string
shaderType ShaderType
return System.Linq
        public ShaderCode(string sourceCode, ShaderType shaderType)
        {
            this.SourceCode = sourceCode;
            this.ShaderType = shaderType;
        }