Synced
ShaderGraphLiteral
Section titled “ShaderGraphLiteral”
- Stores an exact typed value for an unconnected node input, independently of source-language syntax.
Required contracts
Section titled “Required contracts”API: scripting
Implements: InnoEngine.Serialization.ISerializable
Inherits: object
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public sealed class InnoEditor.Rendering.Shaders.ShaderGraphLiteral : InnoEngine.Serialization.ISerializableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | ShaderGraphLiteral.Constructor | No XML description is available. |
| Methods | ShaderGraphLiteral.Emit | Emits ordinary typed constants and aggregate construction into the common IR. |
| Methods | ShaderGraphLiteral.GetScalarTypes | Gets the exact scalar type of each stored component for shared Inspector value controls. |
| Methods | ShaderGraphLiteral.Zero | Creates an explicit zero value for a supported scalar, vector, matrix, structure or array. |
| Properties | ShaderGraphLiteral.scalarBits | Gets or sets scalar bit patterns in declaration order; matrices use column-major order. |
| Properties | ShaderGraphLiteral.type | Gets or sets the complete value type, including named aggregates and fixed arrays. |