Table of Contents

Class IrShaderModule

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

Represents a complete shader module with all stages and declarations.

public class IrShaderModule : IrNode
Inheritance
IrShaderModule
Inherited Members

Properties

FragmentStage

Gets or sets the optional fragment shader stage.

public IrFragmentStage? FragmentStage { get; set; }

Property Value

IrFragmentStage

Functions

Gets the list of function declarations.

public List<IrFunctionDecl> Functions { get; }

Property Value

List<IrFunctionDecl>

Kind

Gets the IR node kind for this module.

public override IrNodeKind Kind { get; }

Property Value

IrNodeKind

Name

Gets or sets the module name.

public string Name { get; set; }

Property Value

string

Structs

Gets the list of struct declarations.

public List<IrStructDecl> Structs { get; }

Property Value

List<IrStructDecl>

VertexStage

Gets or sets the optional vertex shader stage.

public IrVertexStage? VertexStage { get; set; }

Property Value

IrVertexStage