Пример #1
0
        private static void  read_fragment_shader (FragmentShader      fragmentShader, XElement element)
        {
            foreach (XElement e in element.Elements())
            {
                if (e.Name == "include")
                {
                    Include include = new Include();

                    read_include(include, e);

                    fragmentShader.Includes.Add(include);
                }
            }
        }
Пример #2
0
 public Program()
 {
     this.id = string.Empty;
     this.vertexShader = null;
     this.fragmentShader = null;
     this.geometryShader = null;
 }