5 namespace SiliconStudio.Shaders.Ast
12 #region Constants and Fields
77 #region Constructors and Destructors
100 Dimension = dimension;
105 #region Public Properties
117 return (
int)((
Literal)Parameters[1]).Value;
122 Parameters[1] =
new Literal(value);
141 Parameters[0] = value;
150 return base.Equals(other);
156 if (ReferenceEquals(null, obj))
160 if (ReferenceEquals(
this, obj))
170 return base.GetHashCode();
183 return Equals(left, right);
196 return !Equals(left, right);
Base class for all vector types
override bool Equals(object obj)
static readonly ScalarType Int
Scalar int.
VectorType()
Initializes a new instance of the VectorType class.
static readonly ScalarType UInt
Scalar unsigned int.
static readonly ScalarType Float
Sclar float.
VectorType(ScalarType type, int dimension)
Initializes a new instance of the VectorType class.
static readonly ScalarType Double
Scalar double.
Base class for all generic types.
bool Equals(VectorType other)
override int GetHashCode()