Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Shaders.Ast.Parameter Class Reference

A single parameter declaration. More...

Inheritance diagram for SiliconStudio.Shaders.Ast.Parameter:
SiliconStudio.Shaders.Ast.Variable SiliconStudio.Shaders.Ast.Node SiliconStudio.Shaders.Ast.IAttributes SiliconStudio.Shaders.Ast.IDeclaration SiliconStudio.Shaders.Ast.IQualifiers

Public Member Functions

 Parameter ()
 Initializes a new instance of the Parameter class. More...
 
 Parameter (TypeBase type, string name=null, Expression initialValue=null)
 Initializes a new instance of the Parameter class. More...
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.Variable
 Variable ()
 Initializes a new instance of the Variable class. More...
 
 Variable (TypeBase type, string name, Expression initialValue=null)
 Initializes a new instance of the Variable class. More...
 
IEnumerable< VariableInstances ()
 Returns single variable instances. More...
 
void MergeFrom (Variable from)
 Merges attributes and qualifiers from another variable. More...
 
override IEnumerable< NodeChildrens ()
 Gets the child nodes.
Returns
An enumeration of child nodes
More...
 
override string ToString ()
 
override int GetHashCode ()
 
- Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
override bool Equals (object against)
 
override int GetHashCode ()
 
object GetTag (object tagKey)
 Gets a tag value associated to this node.. More...
 
bool RemoveTag (object tagKey)
 Gets a tag value associated to this node.. More...
 
bool ContainsTag (object tagKey)
 Determines whether the specified instance contains this tag. More...
 
void SetTag (object tagKey, object tagValue)
 Sets a tag value associated to this node. More...
 
override string ToString ()
 

Properties

MethodDeclaration DeclaringMethod [get, set]
 Gets or sets the declaring method. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Variable
List< AttributeBaseAttributes [get, set]
 
Qualifier Qualifiers [get, set]
 Gets or sets the qualifiers. More...
 
TypeBase Type [get, set]
 Gets or sets the type. More...
 
Expression InitialValue [get, set]
 Gets or sets the initial value. More...
 
Identifier Name [get, set]
 Gets or sets the name. More...
 
List< VariableSubVariables [get, set]
 Gets or sets the sub variables (used only for variable group) More...
 
bool IsGroup [get]
 Gets a value indicating whether this instance is group. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.Node
SourceSpan Span [get, set]
 Gets or sets the source span. More...
 
List< NodeChildrenList [get]
 Gets the childrens. More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.IAttributes
List< AttributeBaseAttributes [get, set]
 
- Properties inherited from SiliconStudio.Shaders.Ast.IDeclaration
Identifier Name [get, set]
 Gets or sets the name of this declaration More...
 
- Properties inherited from SiliconStudio.Shaders.Ast.IQualifiers
Qualifier Qualifiers [get, set]
 Gets or sets the qualifiers. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from SiliconStudio.Shaders.Ast.Node
static bool operator== (Node left, Node right)
 
static bool operator!= (Node left, Node right)
 
- Protected Member Functions inherited from SiliconStudio.Shaders.Ast.Node
 Node ()
 Initializes a new instance of the Node class. More...
 

Detailed Description

A single parameter declaration.

Definition at line 10 of file Parameter.cs.

Constructor & Destructor Documentation

SiliconStudio.Shaders.Ast.Parameter.Parameter ( )

Initializes a new instance of the Parameter class.

Definition at line 18 of file Parameter.cs.

SiliconStudio.Shaders.Ast.Parameter.Parameter ( TypeBase  type,
string  name = null,
Expression  initialValue = null 
)

Initializes a new instance of the Parameter class.

Parameters
typeThe type.
nameThe name.
initialValueThe initial value.

Definition at line 28 of file Parameter.cs.

Property Documentation

MethodDeclaration SiliconStudio.Shaders.Ast.Parameter.DeclaringMethod
getset

Gets or sets the declaring method.

The declaring method.

Definition at line 42 of file Parameter.cs.


The documentation for this class was generated from the following file: