ShaderInterpreter.Converter.ReplaceStaticConsts C# (CSharp) Method

ReplaceStaticConsts() public static method

Replaces "static consts" by simple "static"
public static ReplaceStaticConsts ( string _Source ) : string
_Source string
return string
        public static string ReplaceStaticConsts( string _Source )
        {
            //			_Source = _Source.Replace( "static const", "const" );	// Don't!
            _Source = _Source.Replace( "static const", "static" );

            return _Source;
        }