Class IrMethodCall
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
methodNamestringargumentsList<IrExpression>typeIrTypetargetIrExpression
Properties
Arguments
Gets the list of arguments passed to the method.
public List<IrExpression> Arguments { get; }
Property Value
Kind
Gets the node kind for this method call.
public override IrNodeKind Kind { get; }
Property Value
MethodName
Gets the name of the method being called.
public string MethodName { get; }
Property Value
Target
Gets the optional target expression for instance method calls.
public IrExpression? Target { get; }
Property Value
Type
Gets the return type of the method call.
public override IrType Type { get; }