Class IrVectorType
Represents a vector type (Float2, Float3, Float4, Int2, etc.).
public class IrVectorType : IrType
- Inheritance
-
IrVectorType
- Inherited Members
Constructors
IrVectorType(IrScalarType, int)
Initializes a new instance of IrVectorType with the specified element type and dimension.
public IrVectorType(IrScalarType elementType, int dimension)
Parameters
elementTypeIrScalarTypedimensionint
Properties
Dimension
Gets the number of components (2-4).
public int Dimension { get; }
Property Value
ElementType
Gets the scalar element type of the vector.
public IrScalarType ElementType { get; }
Property Value
Kind
Gets the IR node kind for this type.
public override IrNodeKind Kind { get; }
Property Value
Name
Gets the display name of this vector type.
public override string Name { get; }