Table of Contents

Class IrConstant

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

Represents a constant value.

public class IrConstant : IrExpression
Inheritance
IrConstant
Inherited Members

Constructors

IrConstant(IrType, object)

Initializes a new instance of the IrConstant class.

public IrConstant(IrType type, object value)

Parameters

type IrType
value object

Properties

Kind

Gets the node kind for this constant.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Type

Gets the type of the constant.

public override IrType Type { get; }

Property Value

IrType

Value

Gets the constant value.

public object Value { get; }

Property Value

object