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 Items =
new List<Expression>();
27 #region Public Properties
35 public List<AttributeBase> Attributes {
get; set; }
46 public List<Expression> Items {
get; set; }
58 #region Public Methods
64 ChildrenList.Add(Name);
65 ChildrenList.AddRange(Attributes);
66 ChildrenList.AddRange(Items);
73 return string.Format(
"pass {0}{{...}}", Name != null ? Name +
" " : string.Empty);
override string ToString()
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes
Pass()
Initializes a new instance of the Pass class.