Table of Contents

Namespace Xui.GPU.IR

Classes

IrAssignment

Represents an assignment statement.

IrBinaryOp

Represents a binary operation.

IrBindingDecoration

Represents a binding decoration for resources.

IrBlock

Represents a block of statements.

IrBuiltInDecoration

Represents a built-in semantic decoration.

IrConstant

Represents a constant value.

IrConstructor

Represents a constructor call.

IrDecoration

Base class for decoration nodes (attributes).

IrExpression

Base class for all expression nodes in the IR.

IrFieldAccess

Represents a field access.

IrFragmentStage

Represents a fragment shader stage.

IrFunctionDecl

Represents a function declaration.

IrIf

Represents an if statement.

IrInterpolationDecoration

Represents an interpolation mode decoration.

IrLocationDecoration

Represents a location decoration for vertex inputs/outputs.

IrMatrixType

Represents a matrix type (Float4x4, etc.).

IrMethodCall

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

IrNode

Base class for all IR nodes in the intermediate representation.

IrParameter

Represents a parameter reference.

IrReturn

Represents a return statement.

IrSamplerType

Represents a sampler type.

IrScalarType

Represents a scalar type (F32, I32, U32, Bool).

IrShaderModule

Represents a complete shader module with all stages and declarations.

IrStatement

Base class for all statement nodes in the IR.

IrStructDecl

Represents a struct declaration.

IrStructField

Represents a field in a struct.

IrStructType

Represents a struct type.

IrTextureType

Represents a texture type.

IrType

Base class for all type nodes in the IR.

IrUnaryOp

Represents a unary operation.

IrVarDecl

Represents a variable declaration.

IrVectorType

Represents a vector type (Float2, Float3, Float4, Int2, etc.).

IrVertexStage

Represents a vertex shader stage.

SourceLocation

Represents a location in source code. Used to map IR nodes back to original C# source for error reporting.

Enums

BinaryOperator

Binary operator kind.

BuiltInSemantic

Built-in semantic kinds.

InterpolationMode

Interpolation mode for varyings.

IrNodeKind

Enumeration of all IR node kinds.

ScalarKind

Kind of scalar type.

UnaryOperator

Unary operator kind.