4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast.Hlsl
14 #region Constructors and Destructors
21 Attributes =
new List<AttributeBase>();
22 Passes =
new List<Pass>();
27 #region Public Properties
43 public List<AttributeBase> Attributes {
get; set; }
59 public List<Pass> Passes {
get; set; }
63 #region Public Methods
69 ChildrenList.AddRange(Attributes);
70 ChildrenList.Add(Name);
71 ChildrenList.AddRange(Passes);
78 return string.Format(
"technique {0}{{...}}", Name != null ? Name +
" " : string.Empty);
Toplevel interface for a declaration.
Technique()
Initializes a new instance of the Technique class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
override string ToString()