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); } } }
public Program() { this.id = string.Empty; this.vertexShader = null; this.fragmentShader = null; this.geometryShader = null; }