4 using System.Collections;
5 using System.Collections.Generic;
7 namespace SiliconStudio.Shaders.Ast.Hlsl
14 #region Constructors and Destructors
34 this.StateType = stateType;
35 this.Initializer = initializer;
40 #region Public Properties
60 #region Public Methods
67 ChildrenList.Add(Initializer);
74 return string.Format(
"{0} {1}",
StateType, Initializer);
A state expresion in the form: sampler {...}.
StateExpression(TypeName stateType, StateInitializer initializer)
Initializes a new instance of the StateExpression class.
override string ToString()
StateExpression()
Initializes a new instance of the StateExpression class.
override IEnumerable< Node > Childrens()
Gets the child nodes. An enumeration of child nodes