Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Emits ordinary typed constants and aggregate construction into the common IR.

API: scripting
Project: Inno.Rendering.Shaders
Scope: Editor

public InnoEditor.Rendering.Shaders.ShaderIrValue InnoEditor.Rendering.Shaders.ShaderGraphLiteral.Emit(InnoEditor.Rendering.Shaders.ShaderIrBuilder builder, InnoEditor.Rendering.Shaders.ShaderSourceType expectedType)

Parameter builder: Current region’s instruction owner.

Parameter expectedType: Current port type; stale defaults never undergo implicit conversion.

A value owned by the supplied builder.

Exception T:System.InvalidOperationException: The stored type, component count or boolean bits are invalid.