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

API: engine
Project: Inno.Rendering.Shaders

public Inno.Rendering.Shaders.ShaderIrValue Inno.Rendering.Shaders.ShaderGraphLiteral.Emit(Inno.Rendering.Shaders.ShaderIrBuilder builder, Inno.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.