예제 #1
0
 public GLSLOptimizerBackend(IWrapper wrapper)
 {
     foreach (GLSLOptimizer.Target t in Enum.GetValues(typeof(GLSLOptimizer.Target)))
     {
         m_Optimizers.Add(t, wrapper.CreateGLSLOptimizer(t));
     }
 }
예제 #2
0
 public GLSLOptimizerBackend(IWrapper wrapper)
 {
     foreach( GLSLOptimizer.Target t in Enum.GetValues(typeof(GLSLOptimizer.Target)))
         m_Optimizers.Add( t, wrapper.CreateGLSLOptimizer(t));
 }