Table of Contents

Class IrMatrixType

Namespace
Xui.GPU.IR
Assembly
Xui.Core.dll

Represents a matrix type (Float4x4, etc.).

public class IrMatrixType : IrType
Inheritance
IrMatrixType
Inherited Members

Constructors

IrMatrixType(IrScalarType, int, int)

Initializes a new instance of IrMatrixType with the specified element type and dimensions.

public IrMatrixType(IrScalarType elementType, int rows, int columns)

Parameters

elementType IrScalarType
rows int
columns int

Properties

Columns

Gets the number of columns.

public int Columns { get; }

Property Value

int

ElementType

Gets the scalar element type of the matrix.

public IrScalarType ElementType { get; }

Property Value

IrScalarType

Kind

Gets the IR node kind for this type.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Name

Gets the display name of this matrix type.

public override string Name { get; }

Property Value

string

Rows

Gets the number of rows.

public int Rows { get; }

Property Value

int