Exemplo n.º 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;
 }
Exemplo n.º 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;
        }