Synced
ShaderGraphLiteral.Emit
Section titled “ShaderGraphLiteral.Emit”
- Emits ordinary typed constants and aggregate construction into the common IR.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor
Declaration
Section titled “Declaration”public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderGraphLiteral.Emit(InnoEditor.Rendering.Shaders.ShaderIrBuilder builder, InnoEditor.Rendering.Shaders.ShaderSourceType expectedType)Parameters
Section titled “Parameters”Parameter builder: Current region’s instruction owner.
Parameter expectedType: Current port type; stale defaults never undergo implicit conversion.
Returns
Section titled “Returns”A value owned by the supplied builder.
Exceptions
Section titled “Exceptions”Exception T:System.InvalidOperationException: The stored type, component count or boolean bits are invalid.