Пример #1
0
 internal ParseContext(
     int version,
     Profile profile,
     InfoSink infoSink,
     bool forwardCompatible,
     SymbolLookup symbols,
     GLSLIntermediate intermediate)
 {
     mIntermediate       = intermediate;
     mVersion            = version;
     mProfile            = profile;
     mInfoSink           = infoSink;
     mExtensionBehaviors = new Dictionary <string, ExtensionBehavior> ();
     contextPragma       = new Pragma(true, false);
     mSymbols            = symbols;
 }
Пример #2
0
        internal ParseContext(
			int version,
			Profile profile,
			InfoSink infoSink,
			bool forwardCompatible,
			SymbolLookup symbols,
			GLSLIntermediate intermediate)
        {
            mIntermediate = intermediate;
            mVersion = version;
            mProfile = profile;
            mInfoSink = infoSink;
            mExtensionBehaviors = new Dictionary<string, ExtensionBehavior> ();
            contextPragma = new Pragma (true, false);
            mSymbols = symbols;
        }