Synced
ShaderIrOperation
Section titled “ShaderIrOperation”
- Defines backend-neutral value operations; graph node IDs are not instruction opcodes.
Required contracts
Section titled “Required contracts”API: scripting
Inherits: System.Enum
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public enum InnoEditor.Rendering.Shaders.ShaderIrOperation : intMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Fields | ShaderIrOperation.Add | Adds two equal numeric types component by component. |
| Fields | ShaderIrOperation.Branch | Executes exactly one nested region and merges its named output values. |
| Fields | ShaderIrOperation.Constant | Produces an exact scalar constant stored as bits, not source-language text. |
| Fields | ShaderIrOperation.Construct | Constructs an aggregate from typed scalar or member values. |
| Fields | ShaderIrOperation.Discard | Discards the current fragment when the scalar condition is true. |
| Fields | ShaderIrOperation.Divide | Divides two equal numeric types component by component. |
| Fields | ShaderIrOperation.Equal | Tests equality of two scalar values and produces a scalar Boolean. |
| Fields | ShaderIrOperation.Extract | Extracts one statically selected vector component, array element or structure field. |
| Fields | ShaderIrOperation.Input | Reads a named input supplied by the enclosing function or stage. |
| Fields | ShaderIrOperation.LessThan | Compares two equal numeric scalar types and produces a scalar Boolean. |
| Fields | ShaderIrOperation.Loop | Executes a counted loop with explicit typed carried values and ordered body effects. |
| Fields | ShaderIrOperation.Maximum | Selects the component-wise maximum of two equal numeric types. |
| Fields | ShaderIrOperation.Minimum | Selects the component-wise minimum of two equal numeric types. |
| Fields | ShaderIrOperation.Multiply | Multiplies two equal numeric types component by component; this is not matrix multiplication. |
| Fields | ShaderIrOperation.RegionInput | Provides a typed iteration index or loop-carried value inside a nested region. |
| Fields | ShaderIrOperation.Select | Selects between equal types using a scalar Boolean; it does not introduce control flow. |
| Fields | ShaderIrOperation.SourceCall | Calls a parsed source function with named inputs and ordered multiple outputs. |
| Fields | ShaderIrOperation.StorageAtomicAdd | Atomically adds to an integer buffer element and returns the original value. |
| Fields | ShaderIrOperation.StorageLoad | Loads one typed buffer element or formatted image texel in memory-effect order. |
| Fields | ShaderIrOperation.StorageStore | Stores one typed buffer element or formatted image texel in memory-effect order. |
| Fields | ShaderIrOperation.Subtract | Subtracts two equal numeric types component by component. |
| Fields | ShaderIrOperation.TextureSample | Samples a floating-point texture using implicit fragment derivatives. |
| Fields | ShaderIrOperation.TextureSampleLevel | Samples a floating-point texture at an explicit mip level. |