Synced
ShaderIrInstruction
Section titled “ShaderIrInstruction”
- Stores one immutable typed instruction without generated stage source or backend expressions.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: object
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Rendering.Shaders.ShaderIrInstructionMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ShaderIrInstruction.Constructor | Appears in the generated script reference without a matching public or protected engine constructor. |
| Properties | ShaderIrInstruction.constantBits | Gets exact scalar bits for a Constant instruction; the result type determines interpretation. |
| Properties | ShaderIrInstruction.hasSideEffects | Gets whether removing or reordering this instruction may change observable behavior. |
| Properties | ShaderIrInstruction.inputName | Gets the stable interface or region-parameter identity, only for Input or RegionInput. |
| Properties | ShaderIrInstruction.inputs | Gets immutable operands in operation or function-declaration order. |
| Properties | ShaderIrInstruction.memberIndex | Gets the zero-based component/member/element ordinal for an Extract instruction. |
| Properties | ShaderIrInstruction.operation | Gets the semantic operation independent of any source language. |
| Properties | ShaderIrInstruction.outputs | Gets produced values; a call orders its return value first, then out/inout parameters. |
| Properties | ShaderIrInstruction.regions | Gets immutable nested regions: true/false for Branch, or one body for Loop. |
| Properties | ShaderIrInstruction.source | Gets a frozen, analyzed function implementation only for a SourceCall instruction. |