Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Freezes a typed GPU stage and its explicit interface. It contains no main function, varying declarations or source expressions. Targets own stage/resource layout; adapters translate these semantics into their native language.

API: engine
Inherits: object
Project: Inno.Rendering.Shaders

public sealed class Inno.Rendering.Shaders.ShaderIrStage
Kind Element Description
Constructors ShaderIrStage.Constructor Validates and freezes a single stage’s interface and ordered body.
Properties ShaderIrStage.body Gets its immutable ordered instructions.
Properties ShaderIrStage.contentHash Gets a deterministic hash of stage semantics, ordered effects, nested regions, complete types, resource layout and frozen sources. A compiled artifact cache must additionally include toolchain identity, target capabilities, optimization and variant configuration.
Properties ShaderIrStage.inputs Gets all input bindings.
Properties ShaderIrStage.outputs Gets all output destinations.
Properties ShaderIrStage.stage Gets the programmable stage.
Properties ShaderIrStage.threadsX Gets the compute workgroup X size.
Properties ShaderIrStage.threadsY Gets the compute workgroup Y size.
Properties ShaderIrStage.threadsZ Gets the compute workgroup Z size.