Table of Contents

Class IrMethodCall

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

Represents a method call (shader intrinsic or user function).

public class IrMethodCall : IrExpression
Inheritance
IrMethodCall
Inherited Members

Constructors

IrMethodCall(string, List<IrExpression>, IrType, IrExpression?)

Initializes a new instance of the IrMethodCall class.

public IrMethodCall(string methodName, List<IrExpression> arguments, IrType type, IrExpression? target = null)

Parameters

methodName string
arguments List<IrExpression>
type IrType
target IrExpression

Properties

Arguments

Gets the list of arguments passed to the method.

public List<IrExpression> Arguments { get; }

Property Value

List<IrExpression>

Kind

Gets the node kind for this method call.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

MethodName

Gets the name of the method being called.

public string MethodName { get; }

Property Value

string

Target

Gets the optional target expression for instance method calls.

public IrExpression? Target { get; }

Property Value

IrExpression

Type

Gets the return type of the method call.

public override IrType Type { get; }

Property Value

IrType