Synced
ShaderIrStage
Section titled “ShaderIrStage”
- 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.
Required contracts
Section titled “Required contracts”API: engine
Inherits: object
Project: Inno.Rendering.Shaders
Declaration
Section titled “Declaration”public sealed class Inno.Rendering.Shaders.ShaderIrStageMembers
Section titled “Members”| 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. |