Class IrShaderModule
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
Functions
Gets the list of function declarations.
public List<IrFunctionDecl> Functions { get; }
Property Value
Kind
Gets the IR node kind for this module.
public override IrNodeKind Kind { get; }
Property Value
Name
Gets or sets the module name.
public string Name { get; set; }
Property Value
Structs
Gets the list of struct declarations.
public List<IrStructDecl> Structs { get; }
Property Value
VertexStage
Gets or sets the optional vertex shader stage.
public IrVertexStage? VertexStage { get; set; }