Пример #1
0
 public GLSLUniformExtractor(IGLSLTypeLookup lookup)
 {
     mTypeLookup = lookup;
     mLayouts = new StringCollection ();
     mUniforms = new Dictionary<string, StructMember> ();
     mBlocks = new Dictionary<string, StructInfo> ();
     mAttributes = new Dictionary<string, InputAttribute> ();
     mLanguage = new GLSLGrammar ();
     mCompiler = new Parser (mLanguage);
 }
Пример #2
0
 public GLSLUniformExtractor(IGLSLTypeLookup lookup)
 {
     mTypeLookup = lookup;
     mLayouts    = new StringCollection();
     mUniforms   = new Dictionary <string, StructMember> ();
     mBlocks     = new Dictionary <string, StructInfo> ();
     mAttributes = new Dictionary <string, InputAttribute> ();
     mLanguage   = new GLSLGrammar();
     mCompiler   = new Parser(mLanguage);
 }